]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: drop frames too short for FCS earlier
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Apr 2017 13:38:56 +0000 (15:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Apr 2017 11:41:36 +0000 (13:41 +0200)
commitfa04f5fad96da10ba58637a7ae29410b9ec40bd8
tree27bc8bdd7b555424090f75887a1c796fc1b92ec6
parent582b8d5e3e20cd92bb37ff9f05161b6be5cf06ee
mac80211: drop frames too short for FCS earlier

Instead of dropping such frames only when removing the
monitor info, drop them earlier (keeping the warning)
and simplify removing monitor info. While at it, make
that function return void.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c