Skip to content

Commit 73735e4

Browse files
Leo-Kimgregkh
authored andcommitted
staging: wilc1000: remove typedef from tstrFoundNetworkInfo
This patch removes typedef from the struct tstrFoundNetworkInfo and rename it to found_net_info. Signed-off-by: Leo Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent db9f1b1 commit 73735e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/staging/wilc1000/host_interface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ typedef enum {
155155
HT_ENABLE = BIT(18),
156156
} tenuCfgParam;
157157

158-
typedef struct {
158+
struct found_net_info {
159159
u8 au8bssid[6];
160160
s8 s8rssi;
161-
} tstrFoundNetworkInfo;
161+
};
162162

163163
typedef enum {SCAN_EVENT_NETWORK_FOUND = 0,
164164
SCAN_EVENT_DONE = 1,
@@ -232,7 +232,7 @@ struct user_scan_req {
232232
void *u32UserScanPvoid;
233233

234234
u32 u32RcvdChCount;
235-
tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
235+
struct found_net_info astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
236236
};
237237

238238
struct user_conn_req {

0 commit comments

Comments
 (0)