Commit dca0eb1e authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct bandwidth_autoswitch

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 3b83db43
...@@ -1779,13 +1779,12 @@ struct tx_pending { ...@@ -1779,13 +1779,12 @@ struct tx_pending {
struct rtllib_txb *txb; struct rtllib_txb *txb;
};//; };//;
typedef struct _bandwidth_autoswitch struct bandwidth_autoswitch {
{
long threshold_20Mhzto40Mhz; long threshold_20Mhzto40Mhz;
long threshold_40Mhzto20Mhz; long threshold_40Mhzto20Mhz;
bool bforced_tx20Mhz; bool bforced_tx20Mhz;
bool bautoswitch_enable; bool bautoswitch_enable;
}bandwidth_autoswitch,*pbandwidth_autoswitch; };//,*pbandwidth_autoswitch;
...@@ -2383,7 +2382,7 @@ struct rtllib_device { ...@@ -2383,7 +2382,7 @@ struct rtllib_device {
u32 fsync_seconddiff_ratethreshold; u32 fsync_seconddiff_ratethreshold;
Fsync_State fsync_state; Fsync_State fsync_state;
bool bis_any_nonbepkts; bool bis_any_nonbepkts;
bandwidth_autoswitch bandwidth_auto_switch; struct bandwidth_autoswitch bandwidth_auto_switch;
bool FwRWRF; bool FwRWRF;
struct rt_link_detect LinkDetectInfo; struct rt_link_detect LinkDetectInfo;
......
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