make argument to get_pin_status int instead of enum to prevent invalid optimization
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 09:44:49 +0000 (11:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 09:44:49 +0000 (11:44 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
commands-dms.c

index c40a38e4cbec3425cf4a1724662147db4644ae0d..43b973e28220a3ce428b5666cb02eeb410fae30c 100644 (file)
@@ -1,6 +1,6 @@
 #include "qmi-message.h"
 
-static const char *get_pin_status(QmiDmsUimPinStatus status)
+static const char *get_pin_status(int status)
 {
        static const char *pin_status[] = {
                [QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED] = "not_initialized",