From 3d65f12e38f721ae37b65e058f0c59a24d6a6886 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 8 Apr 2020 07:02:14 +0200 Subject: bridge: T2232: bugfix wifi and wwan verify() section Commit fcce471 ("bridge: T2232: prevent deletion of enslaved interfaces") added a regression by referencing a wrong variable name. --- src/conf_mode/interfaces-wireless.py | 2 +- src/conf_mode/interfaces-wirelessmodem.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 4c70b1478..709085b0f 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -554,7 +554,7 @@ def get_config(): def verify(wifi): if wifi['deleted']: - interface = wifi['intfc'] + interface = wifi['intf'] is_member, bridge = is_bridge_member(interface) if is_member: # can not use a f'' formatted-string here as bridge would not get diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index a93b20d27..49445aaa4 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -115,7 +115,7 @@ def get_config(): def verify(wwan): if wwan['deleted']: - interface = wwan['intfc'] + interface = wwan['intf'] is_member, bridge = is_bridge_member(interface) if is_member: # can not use a f'' formatted-string here as bridge would not get -- cgit v1.2.3