mac80211: remove short frame test and counter
commit9ad8b21b742503030d543cd272de6a4eb3e3cc27
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jun 2015 13:05:57 +0000 (16 15:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:37:55 +0000 (17 15:37 +0200)
tree690c6fcf6d5de3f0985ad5ac30f691d8cfcfec4a
parent16bf948081d0ea0f6cdef54b79a0250d4b099970
mac80211: remove short frame test and counter

Short frames less than 16 octets are already blocked in the monitor
code by the should_drop_frame() function, and cannot get into the
regular RX path. Therefore, this check can never trigger and the
counter invariably stays zero. Remove the useless code.

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