summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-09-06 22:18:19 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-10-07 15:24:01 +0200
commit2d5e6171493695e962592657430a749f9f0d0728 (patch)
treef3b4a9e4bef1301f12b49585f2b549619a7d11dd /net/mac80211
parentc2d052a3c41aa7815714a18911819efde0d7d384 (diff)
downloadlwn-2d5e6171493695e962592657430a749f9f0d0728.tar.gz
lwn-2d5e6171493695e962592657430a749f9f0d0728.zip
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 <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/wme.c2
1 files changed, 1 insertions, 1 deletions
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;