bgscan_learn: Start scanning from the first freq
authorEliad Peller <eliad@wizery.com>
Thu, 19 Dec 2013 10:03:25 +0000 (12:03 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 04:54:34 +0000 (06:54 +0200)
commit3e06180fe0f47e0263bb1fb8ba97174f26802e52
tree3cd69de02c7fb231a0f2fc729a9872e1089d7423
parentf4c73ae6408a4a6b385cb56be10106dfed21bb3f
bgscan_learn: Start scanning from the first freq

bgscan_learn_get_probe_freq() starts from returning the second entry in
the supp_freqs arrays. Change its logic a bit to make it start from the
first entry.

Signed-hostap: Eliad Peller <eliad@wizery.com>
wpa_supplicant/bgscan_learn.c