summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-19 05:04:08 (GMT)
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 06:43:22 (GMT)
commitdca0eb1e15fa7cf1f4e5fae3d2c32512e24f1742 (patch)
treeb0baf8ec0af5d033740fefe9a715a9757ac03453 /drivers/staging/rtl8192e/rtllib.h
parent3b83db43ccbb26863f38caccc1e7fae370f31e57 (diff)
downloadlinux-fsl-qoriq-dca0eb1e15fa7cf1f4e5fae3d2c32512e24f1742.tar.xz
staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct bandwidth_autoswitch
Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib.h')
-rw-r--r--drivers/staging/rtl8192e/rtllib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 4b1a6d8..c06185c 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1779,13 +1779,12 @@ struct tx_pending {
struct rtllib_txb *txb;
};//;
-typedef struct _bandwidth_autoswitch
-{
+struct bandwidth_autoswitch {
long threshold_20Mhzto40Mhz;
long threshold_40Mhzto20Mhz;
bool bforced_tx20Mhz;
bool bautoswitch_enable;
-}bandwidth_autoswitch,*pbandwidth_autoswitch;
+};//,*pbandwidth_autoswitch;
@@ -2383,7 +2382,7 @@ struct rtllib_device {
u32 fsync_seconddiff_ratethreshold;
Fsync_State fsync_state;
bool bis_any_nonbepkts;
- bandwidth_autoswitch bandwidth_auto_switch;
+ struct bandwidth_autoswitch bandwidth_auto_switch;
bool FwRWRF;
struct rt_link_detect LinkDetectInfo;