From: Rafał Miłecki Date: Wed, 8 Aug 2012 17:10:16 +0000 (+0200) Subject: b43legacy: fix logic in GPIO init X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc;p=openwrt%2Fstaging%2Fblogic.git b43legacy: fix logic in GPIO init Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 8156135a0590..3ea1a85d38d1 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c @@ -1920,7 +1920,7 @@ static int b43legacy_gpio_init(struct b43legacy_wldev *dev) return 0; ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) - & mask) | set); + & ~mask) | set); return 0; }