Fix autoscan exponential to limit interval in all cases
authorJouni Malinen <j@w1.fi>
Tue, 26 Jun 2012 16:51:06 +0000 (19:51 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 26 Jun 2012 16:51:06 +0000 (19:51 +0300)
commit460b36d0c0c30c42ed5337378959a88e9a108213
tree7c819e41d9d463a13dec865784805fa47d4a10cc
parentccea4eb3e854db485dc1c924bf32bd78b2f2b52f
Fix autoscan exponential to limit interval in all cases

The first time the limit is exceeded could result in using larger
value - avoid that by limiting the interval also in that case.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/autoscan_exponential.c