Skip to content

Commit c944a4e

Browse files
Leo-Kimgregkh
authored andcommitted
staging: wilc1000: remove typedef from tstrWILC_UsrConnReq
This patch removes typedef from the struct tstrWILC_UsrConnReq with the related comments and renames it to user_conn_req. Signed-off-by: Leo Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b4fe59d commit c944a4e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

drivers/staging/wilc1000/host_interface.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ struct user_scan_req {
236236
tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
237237
};
238238

239-
typedef struct {
239+
struct user_conn_req {
240240
u8 *pu8bssid;
241241
u8 *pu8ssid;
242242
u8 u8security;
@@ -249,7 +249,7 @@ typedef struct {
249249
bool IsHTCapable;
250250
/* User specific parameter to be delivered through the Connect User Callback function */
251251
void *u32UserConnectPvoid;
252-
} tstrWILC_UsrConnReq;
252+
};
253253

254254
struct drv_handler {
255255
u32 u32Address;
@@ -305,9 +305,7 @@ enum p2p_listen_state {
305305

306306
struct host_if_drv {
307307
struct user_scan_req strWILC_UsrScanReq;
308-
309-
/* Connect User structure */
310-
tstrWILC_UsrConnReq strWILC_UsrConnReq;
308+
struct user_conn_req strWILC_UsrConnReq;
311309

312310
/*Remain on channel struvture*/
313311
struct remain_ch strHostIfRemainOnChan;

0 commit comments

Comments
 (0)