Commit f0a1f292 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef adhoc_peer_entry_t to struct adhoc_peer_entry

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 65dab9a0
...@@ -186,15 +186,14 @@ static int r8192_wx_force_mic_error(struct net_device *dev, ...@@ -186,15 +186,14 @@ static int r8192_wx_force_mic_error(struct net_device *dev,
} }
#define MAX_ADHOC_PEER_NUM 64 #define MAX_ADHOC_PEER_NUM 64
typedef struct struct adhoc_peer_entry {
{
unsigned char MacAddr[ETH_ALEN]; unsigned char MacAddr[ETH_ALEN];
unsigned char WirelessMode; unsigned char WirelessMode;
unsigned char bCurTxBW40MHz; unsigned char bCurTxBW40MHz;
} adhoc_peer_entry_t, *p_adhoc_peer_entry_t; };
typedef struct typedef struct
{ {
adhoc_peer_entry_t Entry[MAX_ADHOC_PEER_NUM]; struct adhoc_peer_entry Entry[MAX_ADHOC_PEER_NUM];
unsigned char num; unsigned char num;
} adhoc_peers_info_t, *p_adhoc_peers_info_t; } adhoc_peers_info_t, *p_adhoc_peers_info_t;
......
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