diff options
author | Veerendranath Jakkam <quic_vjakkam@quicinc.com> | 2024-07-24 14:53:27 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-07-26 12:31:45 +0200 |
commit | baeaabf970b9a90999f62ae27edf63f6cb86c023 (patch) | |
tree | 797a00d6d6cd853d1c81b7d7d9d2bec4ad05da4f /net/wireless/sme.c | |
parent | wifi: mac80211: use monitor sdata with driver only if desired (diff) | |
download | linux-baeaabf970b9a90999f62ae27edf63f6cb86c023.tar.xz linux-baeaabf970b9a90999f62ae27edf63f6cb86c023.zip |
wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done
Individual MLO links connection status is not copied to
EVENT_CONNECT_RESULT data while processing the connect response
information in cfg80211_connect_done(). Due to this failed links
are wrongly indicated with success status in EVENT_CONNECT_RESULT.
To fix this, copy the individual MLO links status to the
EVENT_CONNECT_RESULT data.
Fixes: 53ad07e9823b ("wifi: cfg80211: support reporting failed links")
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Link: https://patch.msgid.link/20240724125327.3495874-1-quic_vjakkam@quicinc.com
[commit message editorial changes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r-- | net/wireless/sme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index e419aa8c4a5a..d9d7bf8bb5c1 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -1045,6 +1045,7 @@ void cfg80211_connect_done(struct net_device *dev, cfg80211_hold_bss( bss_from_pub(params->links[link].bss)); ev->cr.links[link].bss = params->links[link].bss; + ev->cr.links[link].status = params->links[link].status; if (params->links[link].addr) { ev->cr.links[link].addr = next; |