tests: Do not attach wpa_supplicant monitor interface unnecessarily

There is no need to attach the monitor interface was events when issuing
only a single INTERFACES command.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2016-12-14 13:56:15 +02:00 committed by Jouni Malinen
parent 10f312d4a6
commit bb5d761c2e
2 changed files with 16 additions and 8 deletions

View file

@ -54,7 +54,7 @@ def reset_devs(dev, apdev):
wpas = None
try:
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5', monitor=False)
ifaces = wpas.global_request("INTERFACES").splitlines()
for iface in ifaces:
if iface.startswith("wlan"):