staging: wilc1000: remove typedef from tenuScanConnTimer
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:56:02 +0000 (16:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
This patch removes typedef from the enum tenuScanConnTimer and
renames it to scan_conn_timer.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 54b2a6119b546b8f1be53d93c6440a2d74ed00d4..6826298537cec9a754381616d69be9cef1fa5255 100644 (file)
@@ -436,11 +436,11 @@ struct join_bss_param {
        u8 au8StartTime[4];
 };
 
-typedef enum {
+enum scan_conn_timer {
        SCAN_TIMER = 0,
        CONNECT_TIMER   = 1,
        SCAN_CONNECT_TIMER_FORCE_32BIT = 0xFFFFFFFF
-} tenuScanConnTimer;
+};
 
 /*****************************************************************************/
 /*                                                                                                                                                      */
@@ -4872,7 +4872,7 @@ s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
        s32 s32Error = 0;
        struct host_if_drv *pstrWFIDrv = (struct host_if_drv *)hWFIDrv;
        struct host_if_msg msg;
-       tenuScanConnTimer enuScanConnTimer;
+       enum scan_conn_timer enuScanConnTimer;
 
        if (pstrWFIDrv == NULL || pfConnectResult == NULL) {
                s32Error = -EFAULT;
@@ -5530,7 +5530,7 @@ s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource,
        s32 s32Error = 0;
        struct host_if_drv *pstrWFIDrv = (struct host_if_drv *)hWFIDrv;
        struct host_if_msg msg;
-       tenuScanConnTimer enuScanConnTimer;
+       enum scan_conn_timer enuScanConnTimer;
 
        if (pstrWFIDrv == NULL || ScanResult == NULL) {
                PRINT_ER("pstrWFIDrv or ScanResult = NULL\n");