]> git.ipfire.org Git - thirdparty/hostap.git/commit
bgscan_simple: Fix short_scan_count comparison
authorBeni Lev <beni.lev@intel.com>
Mon, 2 Jan 2017 14:26:26 +0000 (16:26 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 5 Jan 2017 14:36:14 +0000 (16:36 +0200)
commite72faadb4955b8206e76a2c6a8e84718fe6a4bac
tree98f44709f358c58eb7e42ab00555947550ff1428
parent517b5f928f8512e38b1d606a9e4f7d767c31ebd1
bgscan_simple: Fix short_scan_count comparison

Previously, the check was done after we reached the maximum and another
scan was already triggered.

While at it, remove an irrelevant comment that the previous change in
the logic here missed.

Signed-off-by: Beni Lev <beni.lev@intel.com>
wpa_supplicant/bgscan_simple.c