summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2015-10-05 15:25:47 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 10:56:03 +0100
commit073b8d0ca73c252a4e3c5fa71a00b2d41dd274d0 (patch)
treec438b74eff8a272f305c6cf3cd260513f95d636f
parent9529650a55f69362c386463001ded3ec0c5f99b3 (diff)
staging: wilc1000: remove typedef from SITE_SURVEY_T
This patch remove typedef from the enum SITE_SURVEY_T. And rename it to SITESURVEY. 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>
-rw-r--r--drivers/staging/wilc1000/host_interface.h2
-rw-r--r--drivers/staging/wilc1000/wilc_wlan_if.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index 69c5a946fda1..1ed21a20b70f 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -125,7 +125,7 @@ struct cfg_param_val {
u8 txop_prot_disabled;
u16 beacon_interval;
u16 dtim_period;
- SITE_SURVEY_T site_survey_enabled;
+ enum SITESURVEY site_survey_enabled;
u16 site_survey_scan_time;
u8 scan_source;
u16 active_scan_time;
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h
index b5b5c678b820..8fec64d12cbd 100644
--- a/drivers/staging/wilc1000/wilc_wlan_if.h
+++ b/drivers/staging/wilc1000/wilc_wlan_if.h
@@ -226,11 +226,11 @@ enum AUTHTYPE {
IEEE8021 = 5
};
-typedef enum {
+enum SITESURVEY {
SITE_SURVEY_1CH = 0,
SITE_SURVEY_ALL_CH = 1,
SITE_SURVEY_OFF = 2
-} SITE_SURVEY_T;
+};
typedef enum {
NORMAL_ACK = 0,