summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-05-31 20:49:38 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 15:49:13 -0400
commitea42e71c79068daa8bfd04f5e3c4a19b5e62f7da (patch)
tree730578ca00725ad10dfc1e7c7c15a66378fb9a10 /drivers/net/wireless/b43/main.c
parentf9471e9973fd887b8af888b98860182b6c534ea2 (diff)
downloadlinux-ea42e71c79068daa8bfd04f5e3c4a19b5e62f7da.tar.gz
linux-ea42e71c79068daa8bfd04f5e3c4a19b5e62f7da.tar.bz2
linux-ea42e71c79068daa8bfd04f5e3c4a19b5e62f7da.zip
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>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 5e4eed37e3ce..2b99ed31ab08 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -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) ||