diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-12-24 15:26:40 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:38 -0500 |
commit | bb519bee07eed4fac9921ad658fb1f7ed78defb5 (patch) | |
tree | c86807544e4c2519869a545584de0f338edf9a23 /drivers/net/wireless/b43/main.c | |
parent | cb33c4126ba9825b047463352d12dc3ed983d320 (diff) | |
download | kernel_samsung_tuna-bb519bee07eed4fac9921ad658fb1f7ed78defb5.zip kernel_samsung_tuna-bb519bee07eed4fac9921ad658fb1f7ed78defb5.tar.gz kernel_samsung_tuna-bb519bee07eed4fac9921ad658fb1f7ed78defb5.tar.bz2 |
b43: detect N PHY revision/radio
Does nothing unless you enable the hidden N PHY config.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
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, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index a2b1e37..26e733a 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -3752,7 +3752,7 @@ static int b43_phy_versioning(struct b43_wldev *dev) break; #ifdef CONFIG_B43_NPHY case B43_PHYTYPE_N: - if (phy_rev > 1) + if (phy_rev > 4) unsupported = 1; break; #endif @@ -3805,7 +3805,7 @@ static int b43_phy_versioning(struct b43_wldev *dev) unsupported = 1; break; case B43_PHYTYPE_N: - if (radio_ver != 0x2055) + if (radio_ver != 0x2055 && radio_ver != 0x2056) unsupported = 1; break; default: |