diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-12-21 02:47:21 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-21 15:06:13 -0500 |
commit | 21c3ba346486c3df39d23a2a085fcdfc7a59a853 (patch) | |
tree | 72666ea6b2098f9cf234ba16263832f69875fb59 /drivers/net/wireless/mwifiex/sta_cmd.c | |
parent | 43906cdb916a9059c34d02831d293fbd4105ed8f (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/sta_cmd.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sta_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_cmd.c b/drivers/net/wireless/mwifiex/sta_cmd.c index ea6518d1c9e3..6e443ffa0465 100644 --- a/drivers/net/wireless/mwifiex/sta_cmd.c +++ b/drivers/net/wireless/mwifiex/sta_cmd.c | |||
@@ -748,7 +748,7 @@ static int mwifiex_cmd_802_11_rf_channel(struct mwifiex_private *priv, | |||
748 | cpu_to_le16(HostCmd_SCAN_RADIO_TYPE_A); | 748 | cpu_to_le16(HostCmd_SCAN_RADIO_TYPE_A); |
749 | 749 | ||
750 | rf_type = le16_to_cpu(rf_chan->rf_type); | 750 | rf_type = le16_to_cpu(rf_chan->rf_type); |
751 | SET_SECONDARYCHAN(rf_type, priv->adapter->chan_offset); | 751 | SET_SECONDARYCHAN(rf_type, priv->adapter->sec_chan_offset); |
752 | rf_chan->current_channel = cpu_to_le16(*channel); | 752 | rf_chan->current_channel = cpu_to_le16(*channel); |
753 | } | 753 | } |
754 | rf_chan->action = cpu_to_le16(cmd_action); | 754 | rf_chan->action = cpu_to_le16(cmd_action); |