diff --git a/tests/hwsim/wlantest.py b/tests/hwsim/wlantest.py index e78cd883d..85ecb88b5 100644 --- a/tests/hwsim/wlantest.py +++ b/tests/hwsim/wlantest.py @@ -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",