Commit e9e0c260 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: remove typedef from tstrWID

This patch removes typedef from the struct tstrWID and
rename it to wid.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 684125a2
...@@ -595,7 +595,7 @@ s32 DeallocateAssocRespInfo(tstrConnectRespInfo *pstrConnectRespInfo) ...@@ -595,7 +595,7 @@ s32 DeallocateAssocRespInfo(tstrConnectRespInfo *pstrConnectRespInfo)
* @date 1 Mar 2012 * @date 1 Mar 2012
* @version 1.0 * @version 1.0
*/ */
s32 send_config_pkt(u8 mode, tstrWID *wids, u32 count, u32 drv) s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv)
{ {
s32 counter = 0, ret = 0; s32 counter = 0, ret = 0;
......
...@@ -70,13 +70,12 @@ typedef enum { ...@@ -70,13 +70,12 @@ typedef enum {
CONNECT_STS_FORCE_16_BIT = 0xFFFF CONNECT_STS_FORCE_16_BIT = 0xFFFF
} tenuConnectSts; } tenuConnectSts;
typedef struct { struct wid {
u16 u16WIDid; u16 u16WIDid;
tenuWIDtype enuWIDtype; tenuWIDtype enuWIDtype;
s32 s32ValueSize; s32 s32ValueSize;
s8 *ps8WidVal; s8 *ps8WidVal;
};
} tstrWID;
typedef struct { typedef struct {
u8 u8Full; u8 u8Full;
...@@ -128,7 +127,7 @@ typedef struct { ...@@ -128,7 +127,7 @@ typedef struct {
size_t ie_len; size_t ie_len;
} tstrDisconnectNotifInfo; } tstrDisconnectNotifInfo;
s32 send_config_pkt(u8 mode, tstrWID *wids, u32 count, u32 drv); s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv);
s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo); s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo);
s32 DeallocateNetworkInfo(tstrNetworkInfo *pstrNetworkInfo); s32 DeallocateNetworkInfo(tstrNetworkInfo *pstrNetworkInfo);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment