summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-08-08 19:10:16 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-10 15:27:01 -0400
commit85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc (patch)
treeb922ab9f87f880e2b06e14b60a4ef831264f3ff6
parent6c1872369d53966dc26be71c96c4c5db13f65981 (diff)
downloadblackbird-op-linux-85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc.tar.gz
blackbird-op-linux-85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc.zip
b43legacy: fix logic in GPIO init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/b43legacy/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud