aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-01-21 19:53:12 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-22 16:11:34 -0500
commitaa4c7b2a2547db95388f795f092ea286fbdd98a1 (patch)
tree8f028c6ac447a01d0faf853d7c9a00f5f039ba34 /drivers/net/wireless/b43/main.c
parent4bb29f8c390fb7be207ec3f11b9d30ccdf1cb6ac (diff)
b43: check band width
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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index c699e46534dc..6d7cf3c2f7bf 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -3576,6 +3576,12 @@ static int b43_op_config(struct ieee80211_hw *hw, u32 changed)
3576 dev = wl->current_dev; 3576 dev = wl->current_dev;
3577 phy = &dev->phy; 3577 phy = &dev->phy;
3578 3578
3579 if (conf_is_ht(conf))
3580 phy->is_40mhz =
3581 (conf_is_ht40_minus(conf) || conf_is_ht40_plus(conf));
3582 else
3583 phy->is_40mhz = false;
3584
3579 b43_mac_suspend(dev); 3585 b43_mac_suspend(dev);
3580 3586
3581 if (changed & IEEE80211_CONF_CHANGE_RETRY_LIMITS) 3587 if (changed & IEEE80211_CONF_CHANGE_RETRY_LIMITS)