summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/805-fix_gpio_bcm5354.patch
blob: a3cf0d09878e620c402f02c17f6136ab5e257af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2687,6 +2687,8 @@ static int b43_gpio_init(struct b43_wlde
 		mask |= 0x0060;
 		set |= 0x0060;
 	}
+	if (dev->dev->chip_id == 0x5354)
+		set &= 0xff02;
 	if (0 /* FIXME: conditional unknown */ ) {
 		b43_write16(dev, B43_MMIO_GPIO_MASK,
 			    b43_read16(dev, B43_MMIO_GPIO_MASK)