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:
parent
925dea791a
commit
777afa9f07
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ def setup(host, monitor_params):
|
||||||
logger.debug(traceback.format_exc())
|
logger.debug(traceback.format_exc())
|
||||||
break
|
break
|
||||||
host.execute(["ifconfig", iface, " down"])
|
host.execute(["ifconfig", iface, " down"])
|
||||||
|
host.execute(["rfkill", "unblock", "wifi"])
|
||||||
host.execute(["iw", iface, "set type monitor"])
|
host.execute(["iw", iface, "set type monitor"])
|
||||||
host.execute(["ifconfig", iface, "up"])
|
host.execute(["ifconfig", iface, "up"])
|
||||||
status, buf = host.execute(["iw", iface, "set", "freq", param['freq'],
|
status, buf = host.execute(["iw", iface, "set", "freq", param['freq'],
|
||||||
|
|
Loading…
Reference in a new issue