diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00config.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index e7f67d5eda52..e225a66f59a0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -176,10 +176,10 @@ void rt2x00lib_config(struct rt2x00_dev *rt2x00dev, | |||
176 | 176 | ||
177 | if (ieee80211_flags & IEEE80211_CONF_CHANGE_CHANNEL) { | 177 | if (ieee80211_flags & IEEE80211_CONF_CHANGE_CHANNEL) { |
178 | if (conf_is_ht40(conf)) { | 178 | if (conf_is_ht40(conf)) { |
179 | __set_bit(CONFIG_CHANNEL_HT40, &rt2x00dev->flags); | 179 | set_bit(CONFIG_CHANNEL_HT40, &rt2x00dev->flags); |
180 | hw_value = rt2x00ht_center_channel(rt2x00dev, conf); | 180 | hw_value = rt2x00ht_center_channel(rt2x00dev, conf); |
181 | } else { | 181 | } else { |
182 | __clear_bit(CONFIG_CHANNEL_HT40, &rt2x00dev->flags); | 182 | clear_bit(CONFIG_CHANNEL_HT40, &rt2x00dev->flags); |
183 | hw_value = conf->channel->hw_value; | 183 | hw_value = conf->channel->hw_value; |
184 | } | 184 | } |
185 | 185 | ||