fix channel command for 9800 series

This commit is contained in:
Chuck SmileyRekiere
2020-08-27 09:00:05 -06:00
parent 383d2cf7b9
commit a5de1b3e02

View File

@@ -279,7 +279,7 @@ def main():
raise Exception("channel requires ap and value") raise Exception("channel requires ap and value")
if (args.action == "channel"): if (args.action == "channel"):
if args.series == "9800": 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: else:
command = "config 802.11%s channel ap %s %s"%(band, args.ap, args.value) 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"): if (args.action == "wlan_qos"):
command = "config wlan qos %s %s"%(args.wlanID, args.value) command = "config wlan qos %s %s"%(args.wlanID, args.value)
if (command is None): if (command is None):
logg.info("No command specified, going to log out.") logg.info("No command specified, going to log out.")
else: else: