]> git.baikalelectronics.ru Git - kernel.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)
commit114be99d89be7dec4a8cd8b36e2cda54e1b2c977
tree5a78f41d5658613053056e91d0f799f5695f2378
parent9858634e239851856e3ab9d60aa06a0be1c7f1bc
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