]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix another source of corrupt frames
authorFelix Fietkau <nbd@openwrt.org>
Tue, 4 May 2010 07:58:57 +0000 (09:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:55:47 +0000 (14:55 -0400)
commit5d8ee1b709af84aba1d1b92468fa803d4322dcce
tree8f3225b07f695cc35f8b657528320e8d284a53da
parentaa83ed5f54a07c670ec30bdc12c7a06565d8bc1e
ath9k: fix another source of corrupt frames

Atheros hardware supports receiving frames that span multiple
descriptors and buffers. In this case, the rx status of every
descriptor except for the last one is invalid and may contain random
data. Because the driver does not support this, it needs to drop such
frames.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c