Michael Buesch wrote:
> Yeah, well. We shouldn't tell mac80211 about the A-PHY, as that doesn't
> work, yet.

Will this patch do the trick, at least until A-PHY's work?


Index: wireless-testing/drivers/net/wireless/b43/main.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/main.c
+++ wireless-testing/drivers/net/wireless/b43/main.c
@@ -4287,8 +4287,10 @@ static int b43_wireless_core_attach(stru
                u32 tmshigh;

                tmshigh = ssb_read32(dev->dev, SSB_TMSHIGH);
-               have_2ghz_phy = !!(tmshigh & B43_TMSHIGH_HAVE_2GHZ_PHY);
-               have_5ghz_phy = !!(tmshigh & B43_TMSHIGH_HAVE_5GHZ_PHY);
+               if (tmshigh & B43_TMSHIGH_HAVE_2GHZ_PHY)
+                       have_2ghz_phy = 1;
+               else if (tmshigh & B43_TMSHIGH_HAVE_5GHZ_PHY)
+                       have_5ghz_phy = 1;
        } else
                B43_WARN_ON(1);


Larry

_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to