diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-08-08 19:10:16 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-10 15:27:01 -0400 |
commit | 85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc (patch) | |
tree | b922ab9f87f880e2b06e14b60a4ef831264f3ff6 | |
parent | 6c1872369d53966dc26be71c96c4c5db13f65981 (diff) | |
download | linux-3.10-85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc.tar.gz linux-3.10-85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc.tar.bz2 linux-3.10-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 8156135a059..3ea1a85d38d 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; } |