From 3a46ad00f55873e1372f24a01f3c2698e6568623 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 30 Mar 2020 07:15:29 +0200 Subject: wireless: T2057: fix missing rename of set_state() -> set_admin_state() Commit 627d1c704c83 ("ifconfig: T2057: explicity name state functions") introduced a new API naming, unfortunately this was nod added for wireless interfaces. --- python/vyos/ifconfig/wireless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/ifconfig/wireless.py b/python/vyos/ifconfig/wireless.py index 932d07d01..946ae1642 100644 --- a/python/vyos/ifconfig/wireless.py +++ b/python/vyos/ifconfig/wireless.py @@ -47,7 +47,7 @@ class WiFiIf(Interface): self._cmd(cmd) # wireless interface is administratively down by default - self.set_state('down') + self.set_admin_state('down') def _delete(self): cmd = 'iw dev {ifname} del' \ -- cgit v1.2.3