Skip to content

Commit ed3f037

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/staging/wilc1000/host_interface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ enum scan_event {
160160
SCAN_EVENT_FORCE_32BIT = 0xFFFFFFFF
161161
};
162162

163-
typedef enum {
163+
enum conn_event {
164164
CONN_DISCONN_EVENT_CONN_RESP = 0,
165165
CONN_DISCONN_EVENT_DISCONN_NOTIF = 1,
166166
CONN_DISCONN_EVENT_FORCE_32BIT = 0xFFFFFFFF
167-
} tenuConnDisconnEvent;
167+
};
168168

169169
enum KEY_TYPE {
170170
WEP,
@@ -179,7 +179,7 @@ typedef void (*wilc_scan_result)(enum scan_event, tstrNetworkInfo *,
179179
void *, void *);
180180

181181
/*Connect callBack function definition*/
182-
typedef void (*wilc_connect_result)(tenuConnDisconnEvent,
182+
typedef void (*wilc_connect_result)(enum conn_event,
183183
tstrConnectInfo *,
184184
u8,
185185
tstrDisconnectNotifInfo *,

drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ int linux_wlan_set_bssid(struct net_device *wilc_netdev, u8 *pBSSID);
531531
*/
532532
int connecting;
533533

534-
static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
534+
static void CfgConnectResult(enum conn_event enuConnDisconnEvent,
535535
tstrConnectInfo *pstrConnectInfo,
536536
u8 u8MacStatus,
537537
tstrDisconnectNotifInfo *pstrDisconnectNotifInfo,

0 commit comments

Comments
 (0)