b43: store current channel using struct cfg80211_chan_def
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
f9471e9973
commit
ea42e71c79
@@ -3808,6 +3808,7 @@ static int b43_op_config(struct ieee80211_hw *hw, u32 changed)
|
||||
b43_mac_suspend(dev);
|
||||
|
||||
if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
|
||||
phy->chandef = &conf->chandef;
|
||||
phy->channel = conf->chandef.chan->hw_value;
|
||||
if (conf_is_ht(conf))
|
||||
phy->is_40mhz = conf_is_ht40_minus(conf) ||
|
||||
|
Reference in New Issue
Block a user