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)
commit3ef83d745bf5220bef3a0fd11b96eb9ac64c8e8e
tree8f3225b07f695cc35f8b657528320e8d284a53da
parentf3926b49b7122f66f8f2a1da4ae3275b112ab3e7
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