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

staging: wilc1000: rename enum AUTHTYPE to use lowercase

Cleanup patch to rename enum AUTHTYPE to lowercase.
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 90824b7c
...@@ -26,7 +26,7 @@ struct host_if_wep_attr { ...@@ -26,7 +26,7 @@ struct host_if_wep_attr {
u8 key_len; u8 key_len;
u8 index; u8 index;
u8 mode; u8 mode;
enum AUTHTYPE auth_type; enum authtype auth_type;
}; };
union host_if_key_attr { union host_if_key_attr {
...@@ -62,7 +62,7 @@ struct connect_attr { ...@@ -62,7 +62,7 @@ struct connect_attr {
u8 security; u8 security;
wilc_connect_result result; wilc_connect_result result;
void *arg; void *arg;
enum AUTHTYPE auth_type; enum authtype auth_type;
u8 ch; u8 ch;
void *params; void *params;
}; };
...@@ -2632,7 +2632,7 @@ int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, ...@@ -2632,7 +2632,7 @@ int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len,
} }
int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
u8 index, u8 mode, enum AUTHTYPE auth_type) u8 index, u8 mode, enum authtype auth_type)
{ {
int result; int result;
struct host_if_msg *msg; struct host_if_msg *msg;
...@@ -2876,7 +2876,7 @@ int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr) ...@@ -2876,7 +2876,7 @@ int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr)
int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid, int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
size_t ssid_len, const u8 *ies, size_t ies_len, size_t ssid_len, const u8 *ies, size_t ies_len,
wilc_connect_result connect_result, void *user_arg, wilc_connect_result connect_result, void *user_arg,
u8 security, enum AUTHTYPE auth_type, u8 security, enum authtype auth_type,
u8 channel, void *join_params) u8 channel, void *join_params)
{ {
int result = 0; int result = 0;
......
...@@ -207,7 +207,7 @@ struct user_conn_req { ...@@ -207,7 +207,7 @@ struct user_conn_req {
u8 *bssid; u8 *bssid;
u8 *ssid; u8 *ssid;
u8 security; u8 security;
enum AUTHTYPE auth_type; enum authtype auth_type;
size_t ssid_len; size_t ssid_len;
u8 *ies; u8 *ies;
size_t ies_len; size_t ies_len;
...@@ -298,7 +298,7 @@ int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index); ...@@ -298,7 +298,7 @@ int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index);
int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len,
u8 index); u8 index);
int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
u8 index, u8 mode, enum AUTHTYPE auth_type); u8 index, u8 mode, enum authtype auth_type);
int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
const u8 *mac_addr, const u8 *rx_mic, const u8 *tx_mic, const u8 *mac_addr, const u8 *rx_mic, const u8 *tx_mic,
u8 mode, u8 cipher_mode, u8 index); u8 mode, u8 cipher_mode, u8 index);
...@@ -314,7 +314,7 @@ int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr); ...@@ -314,7 +314,7 @@ int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr);
int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid, int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
size_t ssid_len, const u8 *ies, size_t ies_len, size_t ssid_len, const u8 *ies, size_t ies_len,
wilc_connect_result connect_result, void *user_arg, wilc_connect_result connect_result, void *user_arg,
u8 security, enum AUTHTYPE auth_type, u8 security, enum authtype auth_type,
u8 channel, void *join_params); u8 channel, void *join_params);
int wilc_disconnect(struct wilc_vif *vif, u16 reason_code); int wilc_disconnect(struct wilc_vif *vif, u16 reason_code);
int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel); int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);
......
...@@ -678,7 +678,7 @@ static int connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -678,7 +678,7 @@ static int connect(struct wiphy *wiphy, struct net_device *dev,
u32 i; u32 i;
u32 sel_bssi_idx = UINT_MAX; u32 sel_bssi_idx = UINT_MAX;
u8 security = NO_ENCRYPT; u8 security = NO_ENCRYPT;
enum AUTHTYPE auth_type = ANY; enum authtype auth_type = ANY;
u32 cipher_group; u32 cipher_group;
struct wilc_priv *priv; struct wilc_priv *priv;
struct host_if_drv *wfi_drv; struct host_if_drv *wfi_drv;
......
...@@ -131,7 +131,7 @@ enum { ...@@ -131,7 +131,7 @@ enum {
WPA2_AES_TKIP = 0x71, /* Aes or Tkip */ WPA2_AES_TKIP = 0x71, /* Aes or Tkip */
}; };
enum AUTHTYPE { enum authtype {
OPEN_SYSTEM = 1, OPEN_SYSTEM = 1,
SHARED_KEY = 2, SHARED_KEY = 2,
ANY = 3, ANY = 3,
......
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