Skip to content

Commit 7696edf

Browse files
Leo-Kimgregkh
authored andcommitted
staging: wilc1000: remove typedef from tenuScanConnTimer
This patch removes typedef from the enum tenuScanConnTimer and renames it to scan_conn_timer. Signed-off-by: Leo Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ed3f037 commit 7696edf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/staging/wilc1000/host_interface.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,11 +436,11 @@ struct join_bss_param {
436436
u8 au8StartTime[4];
437437
};
438438

439-
typedef enum {
439+
enum scan_conn_timer {
440440
SCAN_TIMER = 0,
441441
CONNECT_TIMER = 1,
442442
SCAN_CONNECT_TIMER_FORCE_32BIT = 0xFFFFFFFF
443-
} tenuScanConnTimer;
443+
};
444444

445445
/*****************************************************************************/
446446
/* */
@@ -4872,7 +4872,7 @@ s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
48724872
s32 s32Error = 0;
48734873
struct host_if_drv *pstrWFIDrv = (struct host_if_drv *)hWFIDrv;
48744874
struct host_if_msg msg;
4875-
tenuScanConnTimer enuScanConnTimer;
4875+
enum scan_conn_timer enuScanConnTimer;
48764876

48774877
if (pstrWFIDrv == NULL || pfConnectResult == NULL) {
48784878
s32Error = -EFAULT;
@@ -5530,7 +5530,7 @@ s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource,
55305530
s32 s32Error = 0;
55315531
struct host_if_drv *pstrWFIDrv = (struct host_if_drv *)hWFIDrv;
55325532
struct host_if_msg msg;
5533-
tenuScanConnTimer enuScanConnTimer;
5533+
enum scan_conn_timer enuScanConnTimer;
55345534

55355535
if (pstrWFIDrv == NULL || ScanResult == NULL) {
55365536
PRINT_ER("pstrWFIDrv or ScanResult = NULL\n");

0 commit comments

Comments
 (0)