netplan-developers team mailing list archive
-
netplan-developers team
-
Mailing list archive
-
Message #00053
[Merge] ~gerald-yang-tw/netplan/+git/netplan.brcmfmac:master into netplan:master
gerald.yang has proposed merging ~gerald-yang-tw/netplan/+git/netplan.brcmfmac:master into netplan:master.
Requested reviews:
Developers of netplan (netplan-developers)
For more details, see:
https://code.launchpad.net/~gerald-yang-tw/netplan/+git/netplan.brcmfmac/+merge/324161
--
Your team Developers of netplan is requested to review the proposed merge of ~gerald-yang-tw/netplan/+git/netplan.brcmfmac:master into netplan:master.
diff --git a/src/netplan b/src/netplan
index e3d4f80..9c1d3cc 100755
--- a/src/netplan
+++ b/src/netplan
@@ -116,6 +116,10 @@ def replug(device): # pragma: nocover (covered in autopkgtest)
if driver_name == 'ath9k_htc':
logging.debug('replug %s: ath9k_htc does not support rebinding, ignoring', device)
return False
+ # workaround for brcmfmac, interface will be gone after unbind
+ if driver_name == 'brcmfmac_sdio':
+ logging.debug('replug %s: brcmfmac_sdio 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