Commit e91dbf03 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef CHANNEL_ACCESS_SETTING to struct channel_access_setting

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent bc27e89b
...@@ -2280,7 +2280,7 @@ void ...@@ -2280,7 +2280,7 @@ void
ActUpdateChannelAccessSetting( ActUpdateChannelAccessSetting(
struct net_device* dev, struct net_device* dev,
WIRELESS_MODE WirelessMode, WIRELESS_MODE WirelessMode,
PCHANNEL_ACCESS_SETTING ChnlAccessSetting struct channel_access_setting *ChnlAccessSetting
) )
{ {
struct r8192_priv* priv = rtllib_priv(dev); struct r8192_priv* priv = rtllib_priv(dev);
......
...@@ -472,14 +472,14 @@ typedef struct Stats ...@@ -472,14 +472,14 @@ typedef struct Stats
u32 CurrentShowTxate; u32 CurrentShowTxate;
} Stats; } Stats;
typedef struct ChnlAccessSetting { struct channel_access_setting {
u16 SIFS_Timer; u16 SIFS_Timer;
u16 DIFS_Timer; u16 DIFS_Timer;
u16 SlotTimeTimer; u16 SlotTimeTimer;
u16 EIFS_Timer; u16 EIFS_Timer;
u16 CWminIndex; u16 CWminIndex;
u16 CWmaxIndex; u16 CWmaxIndex;
}*PCHANNEL_ACCESS_SETTING,CHANNEL_ACCESS_SETTING; };
typedef enum _TWO_PORT_STATUS typedef enum _TWO_PORT_STATUS
{ {
...@@ -579,7 +579,7 @@ typedef struct r8192_priv ...@@ -579,7 +579,7 @@ typedef struct r8192_priv
struct workqueue_struct *priv_wq; struct workqueue_struct *priv_wq;
CHANNEL_ACCESS_SETTING ChannelAccessSetting; struct channel_access_setting ChannelAccessSetting;
mp_adapter NdisAdapter; mp_adapter NdisAdapter;
...@@ -1106,7 +1106,7 @@ void ...@@ -1106,7 +1106,7 @@ void
ActUpdateChannelAccessSetting( ActUpdateChannelAccessSetting(
struct net_device* dev, struct net_device* dev,
WIRELESS_MODE WirelessMode, WIRELESS_MODE WirelessMode,
PCHANNEL_ACCESS_SETTING ChnlAccessSetting struct channel_access_setting *ChnlAccessSetting
); );
#endif #endif
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