wifi: mac80211: report per-link error during association
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 20 Sep 2023 18:25:28 +0000 (21:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 07:12:34 +0000 (09:12 +0200)
commit4aa064484504fba48b3c71321940893ca7cebc84
tree6bd4d262cf5dbb415c3e484570064fa0d323ee9e
parenta7b2cc591d556eca044c823e4e92d8c1cb430ef7
wifi: mac80211: report per-link error during association

With this cfg80211 can report the link that caused the error to
userspace which is then able to react to it by e.g. removing the link
from the association and retrying.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230920211508.275fc7f5c426.I8086c0fdbbf92537d6a8b8e80b33387fcfd5553d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c