From 49f4e74a94920807bfa5d952954c5b08b2d33359 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 19 Jul 2011 00:19:05 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef adhoc_peers_info_t to struct adhoc_peers_info Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtl_wx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl_wx.c index 31a492672a7f..1eb2559765f5 100644 --- a/drivers/staging/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl_wx.c @@ -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, -- 2.20.1