tests: Hide unnecessary wlantest_cli output
Unnecessary and confusing "OK" output from wlantest_cli got sent to stdout. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
e4d7b5134e
commit
2005cb87e5
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ class Wlantest:
|
|||
return int(res)
|
||||
|
||||
def clear_bss_counters(self, bssid):
|
||||
subprocess.call([self.wlantest_cli, "clear_bss_counters", bssid]);
|
||||
subprocess.call([self.wlantest_cli, "clear_bss_counters", bssid],
|
||||
stdout=open('/dev/null', 'w'));
|
||||
|
||||
def info_sta(self, field, bssid, addr):
|
||||
res = subprocess.check_output([self.wlantest_cli, "info_sta",
|
||||
|
|
Loading…
Reference in a new issue