[PATCH 6/9] tests: remote: monitor unblock rfkill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unblock wifi rfkill before setup/run monitor

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
---
 tests/remote/monitor.py | 1 +
 1 file changed, 1 insertion(+)

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'],
-- 
2.17.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux