summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-23 19:56:01 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-23 19:56:01 +0100
commit71561a27a0338cba7c54ea8ae9bf14b75006ddbd (patch)
tree35c4f8a8935c6ebd30ccd9a449a85dc570e8738f /python
parentaa4ba0b2ae79245c60b6cf04d666d21a18c858ab (diff)
downloadvyos-1x-71561a27a0338cba7c54ea8ae9bf14b75006ddbd.tar.gz
vyos-1x-71561a27a0338cba7c54ea8ae9bf14b75006ddbd.zip
wireless: T2151: switch to iw when adding and deleting interfaces
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/wireless.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/vyos/ifconfig/wireless.py b/python/vyos/ifconfig/wireless.py
index 895e3ea09..7f507ff6e 100644
--- a/python/vyos/ifconfig/wireless.py
+++ b/python/vyos/ifconfig/wireless.py
@@ -35,11 +35,6 @@ class WiFiIf(VLANIf):
.format(**self.config)
self._cmd(cmd)
- # place interface in administrative down state
- # this should be improved in the long run to reduce the amount of
- # interface flaps
- self.set_state('down')
-
def _delete(self):
cmd = 'iw dev {ifname} del' \
.format(**self.config)