summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_common.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-05-31 22:49:37 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 23:49:13 +0400
commitf9471e9973fd887b8af888b98860182b6c534ea2 (patch)
treebb84f7dd9230c673d3348db68cb014058116aa70 /drivers/net/wireless/b43/phy_common.c
parenteb530b0fed7ec8ca435ec421cbff773b318a6a00 (diff)
downloadlinux-f9471e9973fd887b8af888b98860182b6c534ea2.tar.xz
b43: b43_op_config: set channel info before switching band
Band switching code needs to know what channel we switch to. 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/phy_common.c')
-rw-r--r--drivers/net/wireless/b43/phy_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c
index 3bfb795f6a6d..b465011c14ea 100644
--- a/drivers/net/wireless/b43/phy_common.c
+++ b/drivers/net/wireless/b43/phy_common.c
@@ -424,7 +424,6 @@ int b43_switch_channel(struct b43_wldev *dev, unsigned int new_channel)
if (err)
goto err_restore_cookie;
- dev->phy.channel = new_channel;
/* Wait for the radio to tune to the channel and stabilize. */
msleep(8);