Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct ban…
Browse files Browse the repository at this point in the history
…dwidth_autoswitch

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 3b83db4 commit dca0eb1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;



Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit dca0eb1

Please sign in to comment.