UPDATE:

This patch INVALIDATES the first one I sent for this fix.
The other one made the LEDs behave properly, however the wireless did not work.
This one fixes it, the wireless work properly.
(It uses the value of the "leddc" nvram var, 0xFFFF, of the Linksys
E1000 v1; see https://forum.openwrt.org/viewtopic.php?pid=179199).

If you receive this email multiple times, I apologize.


--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2722,6 +2722,10 @@
        } else if (dev->dev->chip_id == 0x5354) {
                /* Don't allow overtaking buttons GPIOs */
                set &= 0x2; /* 0x2 is LED GPIO on BCM5354 */
+       } else if (dev->dev->chip_id == 47162) {
+               /* only use LED GPIO (gpio 0 on Linksys E1000 V1) */
+               set &= 0x1;
+               mask = 0x0000FFFF;
        }

        if (0 /* FIXME: conditional unknown */ ) {
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to