Commit db9f1b12 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: remove typedef from tenuHostIFstate

This patch removes typedef from the enum tenuHostIFstate and
rename it to host_if_state.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c944a4e8
...@@ -72,8 +72,7 @@ typedef struct _tstrStatistics { ...@@ -72,8 +72,7 @@ typedef struct _tstrStatistics {
} tstrStatistics; } tstrStatistics;
enum host_if_state {
typedef enum {
HOST_IF_IDLE = 0, HOST_IF_IDLE = 0,
HOST_IF_SCANNING = 1, HOST_IF_SCANNING = 1,
HOST_IF_CONNECTING = 2, HOST_IF_CONNECTING = 2,
...@@ -81,7 +80,7 @@ typedef enum { ...@@ -81,7 +80,7 @@ typedef enum {
HOST_IF_CONNECTED = 4, HOST_IF_CONNECTED = 4,
HOST_IF_P2P_LISTEN = 5, HOST_IF_P2P_LISTEN = 5,
HOST_IF_FORCE_32BIT = 0xFFFFFFFF HOST_IF_FORCE_32BIT = 0xFFFFFFFF
} tenuHostIFstate; };
struct host_if_pmkid { struct host_if_pmkid {
u8 bssid[ETH_ALEN]; u8 bssid[ETH_ALEN];
...@@ -313,7 +312,7 @@ struct host_if_drv { ...@@ -313,7 +312,7 @@ struct host_if_drv {
u64 u64P2p_MgmtTimeout; u64 u64P2p_MgmtTimeout;
u8 u8P2PConnect; u8 u8P2PConnect;
tenuHostIFstate enuHostIFstate; enum host_if_state enuHostIFstate;
u8 au8AssociatedBSSID[ETH_ALEN]; u8 au8AssociatedBSSID[ETH_ALEN];
struct cfg_param_val strCfgValues; struct cfg_param_val strCfgValues;
......
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