wifi: mac80211: fix ieee80211_drop_unencrypted_mgmt return type/value
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 Sep 2023 14:21:00 +0000 (16:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Sep 2023 21:21:15 +0000 (23:21 +0200)
commitc419d884551fa4f000996ace22ab498415afad2e
tree779042a4d33b2d2b9b6f70b2105bb9ea9b85570b
parent9896f0608f9fe0b49badd2fd6ae76ec761c70624
wifi: mac80211: fix ieee80211_drop_unencrypted_mgmt return type/value

Somehow, I managed to botch this and pretty much completely break
wifi. My original patch did contain these changes, but I seem to
have lost them before sending to the list. Fix it now.

Reported-and-tested-by: Kalle Valo <kvalo@kernel.org>
Fixes: 6c02fab72429 ("wifi: mac80211: split ieee80211_drop_unencrypted_mgmt() return value")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c