diff options
author | John Estabrook <jestabro@vyos.io> | 2024-08-01 19:18:36 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-02 16:11:32 +0000 |
commit | 7c936988d61c8e31e56e73e975890024f0ece370 (patch) | |
tree | 90cd13578afe63188dd09e2d6b48de3dacea8958 /src/conf_mode/interfaces_wireless.py | |
parent | 1982aa3434d0133b5060d0a6df4e636dbf1b98fa (diff) | |
download | vyos-1x-7c936988d61c8e31e56e73e975890024f0ece370.tar.gz vyos-1x-7c936988d61c8e31e56e73e975890024f0ece370.zip |
T6629: call check_kmod within a standard config functionmergify/bp/circinus/pr-3932
Move the remaining calls to check_kmod within a standard function,
with placement determined by the needs of the config script.
(cherry picked from commit 95eef73f1b002c8b9e8e769135ffed50c8ca6890)
Diffstat (limited to 'src/conf_mode/interfaces_wireless.py')
-rwxr-xr-x | src/conf_mode/interfaces_wireless.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces_wireless.py b/src/conf_mode/interfaces_wireless.py index ff38c979c..9488f6797 100755 --- a/src/conf_mode/interfaces_wireless.py +++ b/src/conf_mode/interfaces_wireless.py @@ -225,6 +225,8 @@ def verify(wifi): return None def generate(wifi): + check_kmod('mac80211') + interface = wifi['ifname'] # Delete config files if interface is removed @@ -319,7 +321,6 @@ def apply(wifi): if __name__ == '__main__': try: - check_kmod('mac80211') c = get_config() verify(c) generate(c) |