Commit 05b9eaa7 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename enum CURRENT_TXRATE to use lowercase

Cleanup patch to rename enums in lowercase to follow linux coding style.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18da9e4a
...@@ -695,7 +695,7 @@ static void handle_cfg_param(struct work_struct *work) ...@@ -695,7 +695,7 @@ static void handle_cfg_param(struct work_struct *work)
i++; i++;
} }
if (param->flag & CURRENT_TX_RATE) { if (param->flag & CURRENT_TX_RATE) {
enum CURRENT_TXRATE curr_tx_rate = param->curr_tx_rate; enum current_tx_rate curr_tx_rate = param->curr_tx_rate;
if (curr_tx_rate == AUTORATE || curr_tx_rate == MBPS_1 || if (curr_tx_rate == AUTORATE || curr_tx_rate == MBPS_1 ||
curr_tx_rate == MBPS_2 || curr_tx_rate == MBPS_5_5 || curr_tx_rate == MBPS_2 || curr_tx_rate == MBPS_5_5 ||
......
...@@ -81,7 +81,7 @@ struct host_if_pmkid_attr { ...@@ -81,7 +81,7 @@ struct host_if_pmkid_attr {
struct host_if_pmkid pmkidlist[WILC_MAX_NUM_PMKIDS]; struct host_if_pmkid pmkidlist[WILC_MAX_NUM_PMKIDS];
}; };
enum CURRENT_TXRATE { enum current_tx_rate {
AUTORATE = 0, AUTORATE = 0,
MBPS_1 = 1, MBPS_1 = 1,
MBPS_2 = 2, MBPS_2 = 2,
...@@ -118,7 +118,7 @@ struct cfg_param_attr { ...@@ -118,7 +118,7 @@ struct cfg_param_attr {
u8 scan_source; u8 scan_source;
u16 active_scan_time; u16 active_scan_time;
u16 passive_scan_time; u16 passive_scan_time;
enum CURRENT_TXRATE curr_tx_rate; enum current_tx_rate curr_tx_rate;
}; };
......
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