staging: wilc1000: remove typedef from tstrWILC_UsrConnReq
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:55:52 +0000 (16:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
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 <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.h

index b7185986106195f81a9bc550a1d31f48b6a95de6..9cf1e992e0c4d7ece747a8fcd597fd09dbe04a8b 100644 (file)
@@ -236,7 +236,7 @@ struct user_scan_req {
        tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
 };
 
-typedef struct {
+struct user_conn_req {
        u8 *pu8bssid;
        u8 *pu8ssid;
        u8 u8security;
@@ -249,7 +249,7 @@ typedef struct {
        bool IsHTCapable;
        /* User specific parameter to be delivered through the Connect User Callback function */
        void *u32UserConnectPvoid;
-} tstrWILC_UsrConnReq;
+};
 
 struct drv_handler {
        u32 u32Address;
@@ -305,9 +305,7 @@ enum p2p_listen_state {
 
 struct host_if_drv {
        struct user_scan_req strWILC_UsrScanReq;
-
-       /* Connect User structure */
-       tstrWILC_UsrConnReq strWILC_UsrConnReq;
+       struct user_conn_req strWILC_UsrConnReq;
 
        /*Remain on channel struvture*/
        struct remain_ch strHostIfRemainOnChan;