Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef adhoc_peers_info_t to struct adhoc…
Browse files Browse the repository at this point in the history
…_peers_info

Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent f0a1f29 commit 49f4e74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/rtl_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,10 @@ struct adhoc_peer_entry {
unsigned char WirelessMode;
unsigned char bCurTxBW40MHz;
};
typedef struct
{
struct adhoc_peers_info {
struct adhoc_peer_entry Entry[MAX_ADHOC_PEER_NUM];
unsigned char num;
} adhoc_peers_info_t, *p_adhoc_peers_info_t;
};

int r8192_wx_get_adhoc_peers(struct net_device *dev,
struct iw_request_info *info,
Expand Down

0 comments on commit 49f4e74

Please sign in to comment.