network: fix check of wlan network state
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
fe8cf93d67
commit
113427345d
|
@ -364,7 +364,7 @@ class NetworkController(BaseNetworkController, SubiquityController):
|
||||||
if state == WLANSupportInstallState.INSTALLING:
|
if state == WLANSupportInstallState.INSTALLING:
|
||||||
self.pending_wlan_devices.add(dev)
|
self.pending_wlan_devices.add(dev)
|
||||||
return
|
return
|
||||||
elif state in [WLANSupportInstallState.FAILED.
|
elif state in [WLANSupportInstallState.FAILED,
|
||||||
WLANSupportInstallState.NOT_AVAILABLE]:
|
WLANSupportInstallState.NOT_AVAILABLE]:
|
||||||
return
|
return
|
||||||
# WLANSupportInstallState.DONE falls through
|
# WLANSupportInstallState.DONE falls through
|
||||||
|
|
Loading…
Reference in New Issue