]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath5k: fix off-by-one in pilot magnitude mask
authorBob Copeland <me@bobcopeland.com>
Wed, 25 Aug 2010 01:37:14 +0000 (21:37 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Aug 2010 17:27:05 +0000 (13:27 -0400)
commit53b1cf8a28c440fcb241f6fb84da71a7cb0f74f0
tree5a78f41d5658613053056e91d0f799f5695f2378
parentdf1c2986c4685776ed02802c170c7fb6f47d8218
ath5k: fix off-by-one in pilot magnitude mask

If the symbol offset is 46, it will be counted in both
the third and fourth bytes of the mask, and in this
case the shift will be negative which can pollute
high order bits in the mask.  This may negatively impact
OFDM symbol detection.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c