mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
tests: Silence wlantest clear_tdls_counters output from stdout
This removes unnecessary "OK" lines from test logs. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
be1a40f26f
commit
433107f0a2
@ -59,8 +59,8 @@ class Wlantest:
|
|||||||
return int(res)
|
return int(res)
|
||||||
|
|
||||||
def tdls_clear(self, bssid, addr1, addr2):
|
def tdls_clear(self, bssid, addr1, addr2):
|
||||||
subprocess.call([self.wlantest_cli, "clear_tdls_counters", bssid, addr1,
|
res = subprocess.check_output([self.wlantest_cli, "clear_tdls_counters",
|
||||||
addr2]);
|
bssid, addr1, addr2]);
|
||||||
|
|
||||||
def get_tdls_counter(self, field, bssid, addr1, addr2):
|
def get_tdls_counter(self, field, bssid, addr1, addr2):
|
||||||
res = subprocess.check_output([self.wlantest_cli, "get_tdls_counter",
|
res = subprocess.check_output([self.wlantest_cli, "get_tdls_counter",
|
||||||
|
Loading…
Reference in New Issue
Block a user