netplan-developers team mailing list archive
-
netplan-developers team
-
Mailing list archive
-
Message #00070
[Merge] ~ogra/netplan/+git/netplan:master into netplan:master
Oliver Grawert has proposed merging ~ogra/netplan/+git/netplan:master into netplan:master.
Requested reviews:
Mathieu Trudel-Lapierre (cyphermox)
For more details, see:
https://code.launchpad.net/~ogra/netplan/+git/netplan/+merge/335824
ath6kl_sdio breaks when you unbind/bind it (wlan device re-appears but is non-functional after unbind)
--
Your team Developers of netplan is subscribed to branch netplan:master.
diff --git a/src/netplan b/src/netplan
index 5dca784..615d6b4 100755
--- a/src/netplan
+++ b/src/netplan
@@ -126,6 +126,10 @@ def replug(device): # pragma: nocover (covered in autopkgtest)
if 'brcmfmac' in driver_name:
logging.debug('replug %s: brcmfmac drivers do not support rebinding, ignoring', device)
return False
+ # workaround for ath6kl_sdio, interface does not work after unbinding
+ if 'ath6kl_sdio' in driver_name:
+ logging.debug('replug %s: ath6kl_sdio driver does not support rebinding, ignoring', device)
+ return False
logging.debug('replug %s: unbinding %s from %s', device, devname, driver)
with open(os.path.join(driver, 'unbind'), 'w') as f:
f.write(devname)
Follow ups