]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: discard undersized packets
authorFelix Fietkau <nbd@nbd.name>
Mon, 22 Jan 2018 06:00:16 +0000 (08:00 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Jan 2018 05:30:49 +0000 (07:30 +0200)
commit8def4e90c8c68bf26d06ab5bae789710dbc3b6d7
tree24c4444ab57333e7e93bb782d24716afd1a5f254
parent900979ca818c9af1e11b72d26e4b1381bed876ad
ath9k: discard undersized packets

Sometimes the hardware will push small packets that trigger a WARN_ON
in mac80211. Discard them early to avoid this issue.

Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/recv.c