Skip to content
Commit 58305854 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: fix check for unusable RX result

If we just check "result & RX_DROP_UNUSABLE", this really only works
by accident, because SKB_DROP_REASON_SUBSYS_MAC80211_UNUSABLE got to
have the value 1, and SKB_DROP_REASON_SUBSYS_MAC80211_MONITOR is 2.

Fix this to really check the entire subsys mask for the value, so it
doesn't matter what the subsystem value is.

Fixes: 7f4e0970

 ("wifi: mac80211: report all unusable beacon frames")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent e406f291
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment