]> git.ipfire.org Git - thirdparty/hostap.git/commit
RRM: Remove duplicate frequencies from beacon report scan request
authorAvraham Stern <avraham.stern@intel.com>
Sun, 11 Jun 2017 12:41:23 +0000 (15:41 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 17 Jul 2017 15:04:34 +0000 (18:04 +0300)
commit922dcf1b457cf767d184b786175680520bacace0
treec237cd4650936488d557a94e43771a4b8e31c286
parentcdb3aab56963d562059f068783a144e0584b59b9
RRM: Remove duplicate frequencies from beacon report scan request

When setting the frequencies for beacon report request scan, it is
possible that a frequency is added twice (e.g., when the same channel
appears both in the channel field and in the AP channel report
subelement). This may cause the scan request to fail.
Make sure the frequencies array contains no duplications before
requesting the scan.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/rrm.c