]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 01:50:21 +0000 (20:50 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:58 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtllib.h

index a3a269ba5d20b84636bfa2f5b9cfd99bb7f5543d..453481959ff347a3f836b526a279287d69c6a94b 100644 (file)
@@ -2279,7 +2279,7 @@ u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc)
 void
 ActUpdateChannelAccessSetting(
        struct net_device*                      dev,
-       WIRELESS_MODE                   WirelessMode,
+       enum wireless_mode WirelessMode,
        struct channel_access_setting *ChnlAccessSetting
        )
 {
index f81680814fb466d04de8195f5b4861d9c757a228..d09c62aa63ceaa21daaaa47f806a32d2c7f2fab5 100644 (file)
@@ -1096,7 +1096,7 @@ MgntActSet_RF_State(
 void
 ActUpdateChannelAccessSetting(
        struct net_device*                      dev,
-       WIRELESS_MODE                   WirelessMode,
+       enum wireless_mode WirelessMode,
        struct channel_access_setting *ChnlAccessSetting
        );
 
index 71bf821bad59cde452d3649e69e4a50e246810c6..6bba2a54a785e6461d29b1b94254df45d61fdf93 100644 (file)
@@ -646,7 +646,7 @@ enum rt_rf_type_def {
        RF_819X_MAX_TYPE
 };
 
-typedef enum _WIRELESS_MODE {
+enum wireless_mode {
        WIRELESS_MODE_UNKNOWN = 0x00,
        WIRELESS_MODE_A = 0x01,
        WIRELESS_MODE_B = 0x02,
@@ -654,7 +654,7 @@ typedef enum _WIRELESS_MODE {
        WIRELESS_MODE_AUTO = 0x08,
        WIRELESS_MODE_N_24G = 0x10,
        WIRELESS_MODE_N_5G = 0x20
-} WIRELESS_MODE;
+};
 
 typedef enum _WIRELESS_NETWORK_TYPE{
        WIRELESS_11B = 1,