aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-12-24 09:26:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:38 -0500
commitbb519bee07eed4fac9921ad658fb1f7ed78defb5 (patch)
treec86807544e4c2519869a545584de0f338edf9a23 /drivers/net/wireless/b43
parentcb33c4126ba9825b047463352d12dc3ed983d320 (diff)
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')
-rw-r--r--drivers/net/wireless/b43/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index a2b1e375f83c..26e733a5a56e 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)
3752 break; 3752 break;
3753#ifdef CONFIG_B43_NPHY 3753#ifdef CONFIG_B43_NPHY
3754 case B43_PHYTYPE_N: 3754 case B43_PHYTYPE_N:
3755 if (phy_rev > 1) 3755 if (phy_rev > 4)
3756 unsupported = 1; 3756 unsupported = 1;
3757 break; 3757 break;
3758#endif 3758#endif
@@ -3805,7 +3805,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
3805 unsupported = 1; 3805 unsupported = 1;
3806 break; 3806 break;
3807 case B43_PHYTYPE_N: 3807 case B43_PHYTYPE_N:
3808 if (radio_ver != 0x2055) 3808 if (radio_ver != 0x2055 && radio_ver != 0x2056)
3809 unsupported = 1; 3809 unsupported = 1;
3810 break; 3810 break;
3811 default: 3811 default: