tests: remote: Unblock rfkill on monitor

Unblock wifi rfkill before setup/run monitor.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
Janusz Dziedzic 2020-09-26 13:26:57 +02:00 committed by Jouni Malinen
parent 925dea791a
commit 777afa9f07

View file

@ -63,6 +63,7 @@ def setup(host, monitor_params):
logger.debug(traceback.format_exc())
break
host.execute(["ifconfig", iface, " down"])
host.execute(["rfkill", "unblock", "wifi"])
host.execute(["iw", iface, "set type monitor"])
host.execute(["ifconfig", iface, "up"])
status, buf = host.execute(["iw", iface, "set", "freq", param['freq'],