Explorar el Código

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>
Rafał Miłecki hace 14 años
padre
commit
82a52043c7
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 1
      drivers/net/wireless/b43/main.c
  2. 0 1
      drivers/net/wireless/b43/phy_n.c

+ 1 - 1
drivers/net/wireless/b43/main.c

@@ -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

+ 0 - 1
drivers/net/wireless/b43/phy_n.c

@@ -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;
 }