Commit dc20a326 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent e6080633
...@@ -2279,7 +2279,7 @@ u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) ...@@ -2279,7 +2279,7 @@ u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc)
void void
ActUpdateChannelAccessSetting( ActUpdateChannelAccessSetting(
struct net_device* dev, struct net_device* dev,
WIRELESS_MODE WirelessMode, enum wireless_mode WirelessMode,
struct channel_access_setting *ChnlAccessSetting struct channel_access_setting *ChnlAccessSetting
) )
{ {
......
...@@ -1096,7 +1096,7 @@ MgntActSet_RF_State( ...@@ -1096,7 +1096,7 @@ MgntActSet_RF_State(
void void
ActUpdateChannelAccessSetting( ActUpdateChannelAccessSetting(
struct net_device* dev, struct net_device* dev,
WIRELESS_MODE WirelessMode, enum wireless_mode WirelessMode,
struct channel_access_setting *ChnlAccessSetting struct channel_access_setting *ChnlAccessSetting
); );
......
...@@ -646,7 +646,7 @@ enum rt_rf_type_def { ...@@ -646,7 +646,7 @@ enum rt_rf_type_def {
RF_819X_MAX_TYPE RF_819X_MAX_TYPE
}; };
typedef enum _WIRELESS_MODE { enum wireless_mode {
WIRELESS_MODE_UNKNOWN = 0x00, WIRELESS_MODE_UNKNOWN = 0x00,
WIRELESS_MODE_A = 0x01, WIRELESS_MODE_A = 0x01,
WIRELESS_MODE_B = 0x02, WIRELESS_MODE_B = 0x02,
...@@ -654,7 +654,7 @@ typedef enum _WIRELESS_MODE { ...@@ -654,7 +654,7 @@ typedef enum _WIRELESS_MODE {
WIRELESS_MODE_AUTO = 0x08, WIRELESS_MODE_AUTO = 0x08,
WIRELESS_MODE_N_24G = 0x10, WIRELESS_MODE_N_24G = 0x10,
WIRELESS_MODE_N_5G = 0x20 WIRELESS_MODE_N_5G = 0x20
} WIRELESS_MODE; };
typedef enum _WIRELESS_NETWORK_TYPE{ typedef enum _WIRELESS_NETWORK_TYPE{
WIRELESS_11B = 1, WIRELESS_11B = 1,
......
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