]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1922256725eeef3fc7fb8a99a53e97106dfb8682
treecbdf27c7a13e391cfb26c39550ddb9d152226910
parent55a01b20c0a4aea16b142f0ac462e645a98e5aaa
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