tests: Avoid unnecessary wlantest failures
authorJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 10:35:13 +0000 (12:35 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:10 +0000 (10:45 +0200)
commitfce6ddd8d070573d0bd5543364b2160a0b4bb4df
treeac00c7894d7692ddf9e8b8640c7528fa95213460
parent356d1488c4d92d344d309d1e5a06cd663f6cfe91
tests: Avoid unnecessary wlantest failures

It is possible that wlantest has not yet created the BSS entry in all
cases, so interpret failures (no BSS entry being the most likely cause)
as zero counters. Similarly, ignore clear_bss_counters errors since they
are most likely reporting that the BSS was not found and as such, there
was no need to clear the counters anyway.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/wlantest.py