]> git.karo-electronics.de Git - linux-beck.git/commitdiff
b43: fix split of N-PHY devices into supported and not (based on PHY rev)
authorRafał Miłecki <zajec5@gmail.com>
Tue, 7 Dec 2010 20:55:59 +0000 (21:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Dec 2010 20:38:45 +0000 (15:38 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/phy_n.c

index 670fd7b782e2360a8c0fa79299a8badb37454708..4d97aac38df02820ec4bccbc9adbd399989b6b45 100644 (file)
@@ -4054,7 +4054,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
                break;
 #ifdef CONFIG_B43_NPHY
        case B43_PHYTYPE_N:
-               if (phy_rev > 4)
+               if (phy_rev > 2)
                        unsupported = 1;
                break;
 #endif
index 35173419d139719f0d69a47cf77c63dfcc2d550c..61875c8882783c6304e27e6d666916b2cf0c816c 100644 (file)
@@ -3515,7 +3515,6 @@ int b43_phy_initn(struct b43_wldev *dev)
        if (phy->rev >= 3)
                b43_nphy_spur_workaround(dev);
 
-       b43err(dev->wl, "IEEE 802.11n devices are not supported, yet.\n");
        return 0;
 }