mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-23 23:32:30 -05:00
wifi: mac80211: remove SSID from ML reconf
The ML reconfiguration frame shouldn't contain an SSID,
remove it.
Fixes: 36e05b0b83 ("wifi: mac80211: Support dynamic link addition and removal")
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Link: https://patch.msgid.link/20250311121004.fdf08f90bc30.I07f88d3a6f592a0df65d48f55d65c46a4d261007@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -10233,8 +10233,8 @@ ieee80211_build_ml_reconf_req(struct ieee80211_sub_if_data *sdata,
|
||||
size += 2 + sizeof(struct ieee80211_mle_per_sta_profile) +
|
||||
ETH_ALEN;
|
||||
|
||||
/* SSID element + WMM */
|
||||
size += 2 + sdata->vif.cfg.ssid_len + 9;
|
||||
/* WMM */
|
||||
size += 9;
|
||||
size += ieee80211_link_common_elems_size(sdata, iftype, cbss,
|
||||
elems_len);
|
||||
}
|
||||
@@ -10346,11 +10346,6 @@ ieee80211_build_ml_reconf_req(struct ieee80211_sub_if_data *sdata,
|
||||
|
||||
capab_pos = skb_put(skb, 2);
|
||||
|
||||
skb_put_u8(skb, WLAN_EID_SSID);
|
||||
skb_put_u8(skb, sdata->vif.cfg.ssid_len);
|
||||
skb_put_data(skb, sdata->vif.cfg.ssid,
|
||||
sdata->vif.cfg.ssid_len);
|
||||
|
||||
extra_used =
|
||||
ieee80211_add_link_elems(sdata, skb, &capab, NULL,
|
||||
add_links_data->link[link_id].elems,
|
||||
|
||||
Reference in New Issue
Block a user