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)
commit30841f5cdeccd24c4a68b9df681b3ef11b0dda53
tree27bc8bdd7b555424090f75887a1c796fc1b92ec6
parent93f56de259376d7e4fff2b2d104082e1fa66e237
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