diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-13 10:35:15 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-13 10:35:15 +0200 |
commit | 9a98a33047e22b3f054832123495b22830f59ac6 (patch) | |
tree | 484de7d285abe0377595e7dea114af24e6fabb15 /src | |
parent | 021a2470bd67dccfac0a53c9f4ef511640c03101 (diff) | |
download | vyos-1x-9a98a33047e22b3f054832123495b22830f59ac6.tar.gz vyos-1x-9a98a33047e22b3f054832123495b22830f59ac6.zip |
wireless: T2185: add wrongly removed argument to get_conf_file()
Commit c0629296bb ("wireless: T2185: migrate from SysVinit to systemd") remove
a required argument to get_conf_file()
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 10aec3dcd..498c24df0 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -609,7 +609,7 @@ def generate(wifi): # Delete config files if interface is removed if wifi['deleted']: - if os.path.isfile(get_conf_file('hostapd', )): + if os.path.isfile(get_conf_file('hostapd', interface)): os.unlink(get_conf_file('hostapd', interface)) if os.path.isfile(get_conf_file('wpa_supplicant', interface)): |