wifi: mac80211: mlme: use ieee80211_get_link_sband()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 12:10:18 +0000 (14:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:16 +0000 (11:43 +0200)
commit1dd0f31c23aa15d201576ae0b2a478cad8d7458f
treecbdf27c7a13e391cfb26c39550ddb9d152226910
parent6359598df67fe7d4d335298f50a23cb55dd1547b
wifi: mac80211: mlme: use ieee80211_get_link_sband()

This requires a few more changes.

While at it, also add a warning to ieee80211_get_sband()
to avoid it being used when there are multiple links.

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