]> 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)
commit7a7d93eb9aec3e49287eda116852f6c487ca798a
tree27bc8bdd7b555424090f75887a1c796fc1b92ec6
parent44ec3a424e6054e5265511e0e5ed95027f3d4329
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