From ca7652e66f23bff6dc5a7e03fb44370191304b6f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 22 Mar 2020 15:38:31 +0100 Subject: wireless: T1627: bugfix reading physical-interface to config --- src/conf_mode/interfaces-wireless.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 19e1f01b8..40ee2b418 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -1144,6 +1144,10 @@ def get_config(): if conf.exists('ip enable-arp-ignore'): wifi['ip_enable_arp_ignore'] = 1 + # Wireless physical device + if conf.exists('physical-device'): + wifi['phy'] = conf.return_value('physical-device') + # Media Access Control (MAC) address if conf.exists('mac'): wifi['mac'] = conf.return_value('mac') @@ -1164,10 +1168,6 @@ def get_config(): if conf.exists('vrf'): wifi['vrf'] = conf.return_value('vrf') - # Wireless physical device - if conf.exists('phy'): - wifi['phy'] = conf.return_value('phy') - # Transmission power reduction in dBm if conf.exists('reduce-transmit-power'): wifi['reduce_transmit_power'] = conf.return_value('reduce-transmit-power') -- cgit v1.2.3