[PATCH] CONFIG_AP: Run time reconfiguration fix

Janusz Dziedzic janusz.dziedzic
Tue Apr 12 01:28:56 PDT 2011


2011/4/12  <Bartosz.Markowski at tieto.com>:
> Hi,
>
> Is this patch not correct?
> It makes life easier in case you want to reconfigure AP in run time.
>

Without this patch after sequence:

add_n
set_n 0 ssid "ap"
set_n 0 key_mgmt NONE
set_n 0 mode 2
set_n 0 frequency 2412
enable_n 0
...
disable_n 0 // or remove_n 0

p2p_find
FAIL

or
Adding new network eg. STATION_MODE association will fail.
Seems corect deinit after disconnect/remove network in case of SoftAP is needed.

Tested with HWSIM, ATH9K - nl80211 drivers.

With patch works fine.

BR
Janusz



More information about the Hostap mailing list