wifi: mac80211: return error from control port TX for drops
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jul 2022 07:37:59 +0000 (09:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:14 +0000 (14:28 +0200)
commitdd820ed6336ad37c870ef2f11e34dcf1a8ff2aa1
tree4d6dfe1e25dfc5433d42d0f029b57792325eb5f7
parent8876c67e6296b44c283cd748d4888788af3f7942
wifi: mac80211: return error from control port TX for drops

If the frame is going to be dropped anyway because
ieee80211_lookup_ra_sta() returned an error (and
even though it's a bit racy, it will likely continue
to do so), return the error out instead of just
silently dropping the frame.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c