summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/wireless.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-16 22:16:01 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-17 14:53:51 +0100
commit267818cb247f66dce4509b8e187a0ead7f1bcd97 (patch)
treeb3e1a2b83ba8959ffafcae2ce1354923a5c98bfe /python/vyos/ifconfig/wireless.py
parent40bf0d3ff0789378fc208a14437390a8135a7c76 (diff)
downloadvyos-1x-267818cb247f66dce4509b8e187a0ead7f1bcd97.tar.gz
vyos-1x-267818cb247f66dce4509b8e187a0ead7f1bcd97.zip
wireless: T4240: bugfix interface bridging
VLAN isolation can not be "set" when interface is of type wifi. (cherry picked from commit 1ceaed55a629c92cf42baccdef4106e8d0e4914e)
Diffstat (limited to 'python/vyos/ifconfig/wireless.py')
-rw-r--r--python/vyos/ifconfig/wireless.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/vyos/ifconfig/wireless.py b/python/vyos/ifconfig/wireless.py
index d897715db..11120a3d3 100644
--- a/python/vyos/ifconfig/wireless.py
+++ b/python/vyos/ifconfig/wireless.py
@@ -54,10 +54,10 @@ class WiFiIf(Interface):
on any interface. """
# We can not call add_to_bridge() until wpa_supplicant is running, thus
- # we will remove the key from the config dict and react to this specal
- # case in thie derived class.
+ # we will remove the key from the config dict and react to this special
+ # case in this derived class.
# re-add ourselves to any bridge we might have fallen out of
- bridge_member = ''
+ bridge_member = None
if 'is_bridge_member' in config:
bridge_member = config['is_bridge_member']
del config['is_bridge_member']