diff options
author | 2023-02-15 08:47:53 +0000 | |
---|---|---|
committer | 2023-02-15 18:26:58 +0100 | |
commit | c38c701851011c94ce3be1ccb3593678d2933fd8 (patch) | |
tree | 66237e83d4c15d7d9eff6839f4e7c0d75b57cad7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: rtw89: move H2C of del_pkt_offload before polling FW status ready (diff) | |
download | wireguard-linux-c38c701851011c94ce3be1ccb3593678d2933fd8.tar.xz wireguard-linux-c38c701851011c94ce3be1ccb3593678d2933fd8.zip |
wifi: cfg80211: Set SSID if it is not already set
When a connection was established without going through
NL80211_CMD_CONNECT, the ssid was never set in the wireless_dev struct.
Now we set it in __cfg80211_connect_result() when it is not already set.
When using a userspace configuration that does not call
cfg80211_connect() (can be checked with breakpoints in the kernel),
this patch should allow `networkctl status device_name` to output the
SSID instead of null.
Cc: stable@vger.kernel.org
Reported-by: Yohan Prod'homme <kernel@zoddo.fr>
Fixes: 7b0a0e3c3a88 (wifi: cfg80211: do some rework towards MLO link APIs)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216711
Signed-off-by: Marc Bornand <dev.mbornand@systemb.ch>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions