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:
parent
10f312d4a6
commit
bb5d761c2e
2 changed files with 16 additions and 8 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue