]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix the cleanup at the end of scan_setband
authorJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 14:58:33 +0000 (16:58 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 14:58:33 +0000 (16:58 +0200)
commitc210aed4b6b8dca8bb319b4fb0897103b84136d2
tree442224a5a4c622ca77fda47102cd6d9a1f6c5d5d
parent976c3c161f890dd3960ca9c7e26d75bc1a9766c3
tests: Fix the cleanup at the end of scan_setband

The iteration of WpaSupplicant instances used incorrect variable and
ended up cleaning up only the wlan5 interface. This left unexpected
setband parameter for wlan0/wlan1/wlan2 which could result in
consecutive test cases failing due to scan not finding the expected
BSSs.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_scan.py