diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-05-27 22:07:33 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-29 19:10:34 +0200 |
commit | 6fe551434c0844fb82785086bdbac312744a22d2 (patch) | |
tree | a3a0fdf1d3a0e9ec4c022c4febeb8d4e13d7ecd5 /drivers/net/wireless/b43/main.c | |
parent | b43: N-PHY: optimize init by doing some ops just once (diff) | |
download | linux-6fe551434c0844fb82785086bdbac312744a22d2.tar.xz linux-6fe551434c0844fb82785086bdbac312744a22d2.zip |
b43: N-PHY: optimize radio switching on/off
Broadcom's wl 6.30.223.141 has some optimizations for radios 0x205[67].
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index bf279170b483..32538ac5f7e4 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -3742,7 +3742,9 @@ static int b43_switch_band(struct b43_wldev *dev, b43dbg(dev->wl, "Switching to %s GHz band\n", band_to_string(chan->band)); - b43_software_rfkill(dev, true); + /* Some new devices don't need disabling radio for band switching */ + if (!(phy->type == B43_PHYTYPE_N && phy->rev >= 3)) + b43_software_rfkill(dev, true); phy->gmode = gmode; b43_phy_put_into_reset(dev); |