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:
Jouni Malinen 2013-08-25 21:48:51 +03:00
parent be1a40f26f
commit 433107f0a2

View File

@ -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",