]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_common: drop incomming frames with an invalid hardware rate
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 May 2010 02:41:13 +0000 (22:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:57:16 +0000 (14:57 -0400)
commit256201bccdc375a0d1e3d8de0ee2195344d7cc02
tree0db9127c6a892739b1d68b61587083a8a7d9c990
parent14b6ab444b28086e561c8f9d3fbb264f9bf4b337
ath9k_common: drop incomming frames with an invalid hardware rate

ath9k_common (used by ath9k and ath9k_htc) trusts the frames
blessed by hardware as OK are infact correct even if the rate
seen by the driver is unrecognized. ath9k_common just treats
these frames in mac80211 as frames as frames under 1 mbps rate.
It seems this might not be the best thing to do as other parts of
the frame might not be valid so just drop these frames for now.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c