aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-12-07 15:55:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-08 15:38:45 -0500
commit82a52043c7801f83c7387deb45bf9323af04644b (patch)
treef145fdee86de74601d3abd0baeaf7c50b3413095 /drivers/net/wireless/b43
parentabc1f7cd531f80a8468ab654f1dfd35d58bd2490 (diff)
b43: fix split of N-PHY devices into supported and not (based on PHY rev)
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')
-rw-r--r--drivers/net/wireless/b43/main.c2
-rw-r--r--drivers/net/wireless/b43/phy_n.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 670fd7b782e2..4d97aac38df0 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4054,7 +4054,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
4054 break; 4054 break;
4055#ifdef CONFIG_B43_NPHY 4055#ifdef CONFIG_B43_NPHY
4056 case B43_PHYTYPE_N: 4056 case B43_PHYTYPE_N:
4057 if (phy_rev > 4) 4057 if (phy_rev > 2)
4058 unsupported = 1; 4058 unsupported = 1;
4059 break; 4059 break;
4060#endif 4060#endif
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 35173419d139..61875c888278 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -3515,7 +3515,6 @@ int b43_phy_initn(struct b43_wldev *dev)
3515 if (phy->rev >= 3) 3515 if (phy->rev >= 3)
3516 b43_nphy_spur_workaround(dev); 3516 b43_nphy_spur_workaround(dev);
3517 3517
3518 b43err(dev->wl, "IEEE 802.11n devices are not supported, yet.\n");
3519 return 0; 3518 return 0;
3520} 3519}
3521 3520