From: Johannes Berg Date: Tue, 6 Sep 2022 20:18:19 +0000 (+0200) Subject: wifi: mac80211: wme: use ap_addr instead of deflink BSSID X-Git-Tag: io_uring-6.2-2022-12-19~11^2~345^2~56 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2d5e6171493695e962592657430a749f9f0d0728;p=linux-block.git wifi: mac80211: wme: use ap_addr instead of deflink BSSID We use this to look up the destination station, so it needs to be the MLD address of the AP for an MLO; use ap_addr instead of the BSSID. Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index ecc1de2e68a5..9fab97f6fbea 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -211,7 +211,7 @@ u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata, if (sta) break; - ra = sdata->deflink.u.mgd.bssid; + ra = sdata->vif.cfg.ap_addr; break; case NL80211_IFTYPE_ADHOC: ra = skb->data;