wpa_supplicant: Fix AP mode frequency initialization
authorAvraham Stern <avraham.stern@intel.com>
Sun, 25 Aug 2013 08:24:29 +0000 (11:24 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 25 Aug 2013 08:24:29 +0000 (11:24 +0300)
commit973622cd440505a22a1890040931579b5f8f1ac4
treee97dac3990b0bf76d9643981c43ac295df3be73f
parentd99ca89d987e6bd28dbe37b4c6ff8b6168390627
wpa_supplicant: Fix AP mode frequency initialization

In AP mode the frequency was initialized only after trying to set up the
AP which caused failure. Move AP frequency initialization to the right
place. This allows an AP mode network block without the frequency
parameter to be used with the default channel 11 being selected in that
case.

Signed-hostap: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/ap.c