diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2009-08-11 00:54:26 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:14:02 -0400 |
commit | d44517f235c5baa943fc8cac7e56bd291ffc077e (patch) | |
tree | 75f16624e1270cb5c64a2dbee8bc3795643cb465 | |
parent | f679056b2fdd4e9b7c8eb42ba447cd9646236305 (diff) | |
download | linux-3.10-d44517f235c5baa943fc8cac7e56bd291ffc077e.tar.gz linux-3.10-d44517f235c5baa943fc8cac7e56bd291ffc077e.tar.bz2 linux-3.10-d44517f235c5baa943fc8cac7e56bd291ffc077e.zip |
b43: Fix a typo in the sync_stx routine
I completely missed the "one's complement" instruction from the specs.
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/b43/phy_lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index 6b1989490ae..95e15e6692a 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c @@ -497,7 +497,7 @@ static void lpphy_sync_stx(struct b43_wldev *dev) tmp >>= e->rf_shift; tmp <<= e->phy_shift; b43_phy_maskset(dev, B43_PHY_OFDM(0xF2 + e->phy_offset), - e->mask << e->phy_shift, tmp); + ~(e->mask << e->phy_shift), tmp); } } |