Commit 630c7e46 authored by Johannes Berg's avatar Johannes Berg

wifi: mac80211: set STA deflink addresses

We should set the STA deflink addresses in case no
link is really added.

Fixes: 046d2e7c ("mac80211: prepare sta handling for MLO support")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ba6ddab9
...@@ -513,6 +513,8 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata, ...@@ -513,6 +513,8 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
memcpy(sta->addr, addr, ETH_ALEN); memcpy(sta->addr, addr, ETH_ALEN);
memcpy(sta->sta.addr, addr, ETH_ALEN); memcpy(sta->sta.addr, addr, ETH_ALEN);
memcpy(sta->deflink.addr, addr, ETH_ALEN);
memcpy(sta->sta.deflink.addr, addr, ETH_ALEN);
sta->sta.max_rx_aggregation_subframes = sta->sta.max_rx_aggregation_subframes =
local->hw.max_rx_aggregation_subframes; local->hw.max_rx_aggregation_subframes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment