Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef CHANNEL_ACCESS_SETTING to struct c…
Browse files Browse the repository at this point in the history
…hannel_access_setting

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 bc27e89 commit e91dbf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/r8192E_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ void
ActUpdateChannelAccessSetting(
struct net_device* dev,
WIRELESS_MODE WirelessMode,
PCHANNEL_ACCESS_SETTING ChnlAccessSetting
struct channel_access_setting *ChnlAccessSetting
)
{
struct r8192_priv* priv = rtllib_priv(dev);
Expand Down
8 changes: 4 additions & 4 deletions drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,14 +472,14 @@ typedef struct Stats
u32 CurrentShowTxate;
} Stats;

typedef struct ChnlAccessSetting {
struct channel_access_setting {
u16 SIFS_Timer;
u16 DIFS_Timer;
u16 SlotTimeTimer;
u16 EIFS_Timer;
u16 CWminIndex;
u16 CWmaxIndex;
}*PCHANNEL_ACCESS_SETTING,CHANNEL_ACCESS_SETTING;
};

typedef enum _TWO_PORT_STATUS
{
Expand Down Expand Up @@ -579,7 +579,7 @@ typedef struct r8192_priv

struct workqueue_struct *priv_wq;

CHANNEL_ACCESS_SETTING ChannelAccessSetting;
struct channel_access_setting ChannelAccessSetting;

mp_adapter NdisAdapter;

Expand Down Expand Up @@ -1106,7 +1106,7 @@ void
ActUpdateChannelAccessSetting(
struct net_device* dev,
WIRELESS_MODE WirelessMode,
PCHANNEL_ACCESS_SETTING ChnlAccessSetting
struct channel_access_setting *ChnlAccessSetting
);

#endif

0 comments on commit e91dbf0

Please sign in to comment.