staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct bandwidth_autoswitch
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 05:04:08 +0000 (00:04 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:43:22 +0000 (01:43 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib.h

index 4b1a6d8dcc2b1b0392f013f88e073703a54ac0ad..c06185c0d96701b301aa9554ffa663f1a4d05b6f 100644 (file)
@@ -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;