diff --git a/src/netplan b/src/netplan index 900f227..94450e8 100755 --- a/src/netplan +++ b/src/netplan @@ -111,6 +111,11 @@ def replug(device): # pragma: nocover (covered in autopkgtest) if driver_name == 'mwifiex_pcie': logging.debug('replug %s: mwifiex_pcie crashes on rebinding, ignoring', device) return False + # workaround for problem with ath9k_htc module: this driver is async and does not support + # sequential unbind / rebind, one soon after the other + if driver_name == 'ath9k_htc': + logging.debug('replug %s: ath9k_htc 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)