]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant.c
wpa_supplicant: Fix bug in get_shared_radio_freqs
authorIlan Peer <ilan.peer@intel.com>
Sun, 3 Nov 2013 13:30:27 +0000 (15:30 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 08:55:22 +0000 (10:55 +0200)
commit9804873e53decfed87d5a9a12518c25106e383be
treea7c33b61dd601ec697c085d946030adddbce3655
parent3342c2636cbeae16900602c10408f061fc26c4f3
wpa_supplicant: Fix bug in get_shared_radio_freqs

The idx variable was mistakenly set to 0 at the beginning of the
interface iteration. This could result in the operating channel of the
interface calling the function from being removed from the returned
frequency array if other interfaces were operating.

Signed-hostap: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/wpa_supplicant.c