mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-10 23:00:30 +01:00
When a Wi-Fi is switched to AP mode, NMDeviceWifi forgets the AP scan list. Later, when the device goes back to normal managed mode, the device was not able to acquire the AP list again (for a long time), because the list is only populated when a new BSS is signalled. And that could take very long or never happen as the supplicant would have to lost the BSS and announce it later. Fix the problem by announcing known BSSs as a response to ScanDone signal. Testcase: $ nmcli con add type wifi ifname wlan0 con-name my-wifi-ap autoconnect off ssid MYSSID $ nmcli con modify my-wifi-ap wifi.mode ap ipv4.method shared $ nmcli con up my-wifi-ap $ nmcli con down my-wifi-ap $ nmcli device wifi list https://bugzilla.redhat.com/show_bug.cgi?id=1267327 |
||
|---|---|---|
| .. | ||
| tests | ||
| nm-supplicant-config.c | ||
| nm-supplicant-config.h | ||
| nm-supplicant-interface.c | ||
| nm-supplicant-interface.h | ||
| nm-supplicant-manager.c | ||
| nm-supplicant-manager.h | ||
| nm-supplicant-settings-verify.c | ||
| nm-supplicant-settings-verify.h | ||
| nm-supplicant-types.h | ||