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