diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-08-08 13:10:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-10 15:27:01 -0400 |
commit | 85ce5ae52690aab0b3a4a6e9a1c2f951d2d8a5cc (patch) | |
tree | b922ab9f87f880e2b06e14b60a4ef831264f3ff6 /drivers/net/wireless/b43legacy | |
parent | 6c1872369d53966dc26be71c96c4c5db13f65981 (diff) |
b43legacy: fix logic in GPIO init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-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 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) | |||
1920 | return 0; | 1920 | return 0; |
1921 | ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, | 1921 | ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, |
1922 | (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) | 1922 | (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) |
1923 | & mask) | set); | 1923 | & ~mask) | set); |
1924 | 1924 | ||
1925 | return 0; | 1925 | return 0; |
1926 | } | 1926 | } |