aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2011-12-21 02:47:21 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-21 15:06:13 -0500
commit21c3ba346486c3df39d23a2a085fcdfc7a59a853 (patch)
tree72666ea6b2098f9cf234ba16263832f69875fb59 /drivers/net/wireless/mwifiex/fw.h
parent43906cdb916a9059c34d02831d293fbd4105ed8f (diff)
mwifiex: use IEEE80211_HT_PARAM_CHA_SEC_* macros
Replace driver specific macros with the corresponding IEEE80211_HT_PARAM_CHA_SEC_* macros defined in ieee80211.h. Also, rename 'adapter->chan_offset' to 'adapter->sec_chan_offset' for consistency. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index 62b863907698..51c5417c569c 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -376,8 +376,6 @@ enum mwifiex_chan_scan_mode_bitmasks {
376 MWIFIEX_DISABLE_CHAN_FILT = BIT(1), 376 MWIFIEX_DISABLE_CHAN_FILT = BIT(1),
377}; 377};
378 378
379#define SECOND_CHANNEL_BELOW 0x30
380#define SECOND_CHANNEL_ABOVE 0x10
381struct mwifiex_chan_scan_param_set { 379struct mwifiex_chan_scan_param_set {
382 u8 radio_type; 380 u8 radio_type;
383 u8 chan_number; 381 u8 chan_number;