This patch remove typedef from the enum CURRENT_TX_RATE_T.
And rename it to CURRENT_TXRATE.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
u8WidCnt++;
}
if (strHostIFCfgParamAttr->pstrCfgParamVal.u32SetCfgFlag & CURRENT_TX_RATE) {
- CURRENT_TX_RATE_T curr_tx_rate = strHostIFCfgParamAttr->pstrCfgParamVal.curr_tx_rate;
+ enum CURRENT_TXRATE curr_tx_rate = strHostIFCfgParamAttr->pstrCfgParamVal.curr_tx_rate;
/*----------------------------------------------------------------------*/
/*Rates: 1 2 5.5 11 6 9 12 18 24 36 48 54 Auto */
/*InputValues: 1 2 3 4 5 6 7 8 9 10 11 12 0 */
struct host_if_pmkid pmkidlist[WILC_MAX_NUM_PMKIDS];
};
-typedef enum {
+enum CURRENT_TXRATE {
AUTORATE = 0,
MBPS_1 = 1,
MBPS_2 = 2,
MBPS_36 = 36,
MBPS_48 = 48,
MBPS_54 = 54
-} CURRENT_TX_RATE_T;
+};
struct cfg_param_val {
u32 u32SetCfgFlag;
u8 scan_source;
u16 active_scan_time;
u16 passive_scan_time;
- CURRENT_TX_RATE_T curr_tx_rate;
+ enum CURRENT_TXRATE curr_tx_rate;
};