mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 05:10:17 +01:00
wifi: AP mode connections are always available
Just like adhoc, they don't need to be found in the scan list.
This commit is contained in:
parent
b62a3abbff
commit
53d8f49bcd
1 changed files with 1 additions and 1 deletions
|
|
@ -1136,7 +1136,7 @@ check_connection_available (NMDevice *device, NMConnection *connection)
|
|||
* at any time.
|
||||
*/
|
||||
mode = nm_setting_wireless_get_mode (s_wifi);
|
||||
if (g_strcmp0 (mode, "adhoc") == 0)
|
||||
if (g_str_equal (mode, "adhoc") || g_str_equal (mode, "ap"))
|
||||
return TRUE;
|
||||
|
||||
/* Hidden SSIDs obviously don't always appear in the scan list either */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue