Merge pull request #1601 from ogayot/wlan-not-available

network: fix check of wlan network state
This commit is contained in:
Olivier Gayot 2023-03-21 09:07:38 +01:00 committed by GitHub
commit cf41415f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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