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 c40a38e..43b973e 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",