From: Janusz Dziedzic Date: Sat, 26 Sep 2020 11:26:57 +0000 (+0200) Subject: tests: remote: Unblock rfkill on monitor X-Git-Tag: hostap_2_10~920 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=777afa9f075bbcd51d3201dc8f5c7fd49082b6f2;p=thirdparty%2Fhostap.git tests: remote: Unblock rfkill on monitor Unblock wifi rfkill before setup/run monitor. Signed-off-by: Janusz Dziedzic --- diff --git a/tests/remote/monitor.py b/tests/remote/monitor.py index 96dbc6564..a97eaf928 100644 --- a/tests/remote/monitor.py +++ b/tests/remote/monitor.py @@ -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'],