diff options
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | 2020-10-22 16:14:32 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-11-12 15:35:55 +0100 |
commit | ab87cbd89cb09cbe72da13d4d4c14d66e95908b4 (patch) | |
tree | e1ed4abdba863c6c8d5412a8610ae6a98ebea5d0 | |
parent | 7d23d77c7e477aaef5fb61ed721c7d44f6394e5a (diff) | |
download | NetworkManager-ab87cbd89cb09cbe72da13d4d4c14d66e95908b4.tar.gz |
iwd: Allow scanning in NM_DEVICE_STATE_NEED_AUTH
In this state, same as in DISCONNECTED or ACTIVATED, allow scanning if
IWD is in the "connected" or "disconnected" states as there's no reason
not to scan.
-rw-r--r-- | src/devices/wifi/nm-device-iwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c index e41490a34d..c40504c91c 100644 --- a/src/devices/wifi/nm-device-iwd.c +++ b/src/devices/wifi/nm-device-iwd.c @@ -1202,7 +1202,6 @@ check_scanning_prohibited(NMDeviceIwd *self, gboolean periodic) case NM_DEVICE_STATE_UNAVAILABLE: case NM_DEVICE_STATE_PREPARE: case NM_DEVICE_STATE_CONFIG: - case NM_DEVICE_STATE_NEED_AUTH: case NM_DEVICE_STATE_IP_CONFIG: case NM_DEVICE_STATE_IP_CHECK: case NM_DEVICE_STATE_SECONDARIES: @@ -1212,6 +1211,7 @@ check_scanning_prohibited(NMDeviceIwd *self, gboolean periodic) case NM_DEVICE_STATE_DISCONNECTED: case NM_DEVICE_STATE_FAILED: case NM_DEVICE_STATE_ACTIVATED: + case NM_DEVICE_STATE_NEED_AUTH: break; } |