From: Rafał Miłecki Date: Sun, 17 Jul 2011 08:30:34 +0000 (+0200) Subject: b43: HT-PHY: fix typo in 0x2059 radio init X-Git-Tag: firefly_0821_release~3680^2~4429^2~12^2~42^2~81 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b473bc176702cb22529632b5c4315bda27e0d979;p=firefly-linux-kernel-4.4.55.git b43: HT-PHY: fix typo in 0x2059 radio init Following operation was incorrectly translated: radio_read(0x0011) -> 0xffff radio_write(0x0011) <- 0xfff7 Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c index 87cc82932224..21d1847a9117 100644 --- a/drivers/net/wireless/b43/phy_ht.c +++ b/drivers/net/wireless/b43/phy_ht.c @@ -148,7 +148,7 @@ static void b43_radio_2059_init(struct b43_wldev *dev) b43_radio_mask(dev, 0x17F, ~0x1); } - b43_radio_mask(dev, 0x11, 0x0008); + b43_radio_mask(dev, 0x11, ~0x0008); } /**************************************************