From a5de1b3e02971b9e2e5bbfd29ce4137b0cc3b228 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 27 Aug 2020 09:00:05 -0600 Subject: [PATCH] fix channel command for 9800 series --- cisco_wifi_ctl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index 935d27ce..6af883b6 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -279,7 +279,7 @@ def main(): raise Exception("channel requires ap and value") if (args.action == "channel"): if args.series == "9800": - command = "ap name %s dot11 5ghz channel width %s"%(args.ap, args.value) + command = "ap name %s dot11 5ghz channel %s"%(args.ap, args.value) else: command = "config 802.11%s channel ap %s %s"%(band, args.ap, args.value) @@ -311,7 +311,6 @@ def main(): if (args.action == "wlan_qos"): command = "config wlan qos %s %s"%(args.wlanID, args.value) - if (command is None): logg.info("No command specified, going to log out.") else: