]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: remove typedef from SITE_SURVEY_T
authorLeo Kim <leo.kim@atmel.com>
Mon, 5 Oct 2015 06:25:47 +0000 (15:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:56:03 +0000 (10:56 +0100)
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>
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wlan_if.h

index 69c5a946fda134d85e8d62d5698d7bd54bb3d296..1ed21a20b70fe026ed50d82520753c8d73a87291 100644 (file)
@@ -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;
index b5b5c678b820549475d84aee56dbed73926b2dc8..8fec64d12cbd0b29b3f6f860b5520e23a26bfeb8 100644 (file)
@@ -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,