]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow setting scan_res_handler from the callback function
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 Dec 2010 13:31:05 +0000 (15:31 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 17 Dec 2010 13:31:05 +0000 (15:31 +0200)
commit860fddbb413b131b24ca5ae90ffcfdbae6f715b0
tree8b47160f0715d06ae7251f0359e021830ce5ad20
parenta2810199eca02e886d2681fd38f5e591726dc170
Allow setting scan_res_handler from the callback function

Some new code I'm working on will need the scan_res_handler assigned all
the time in certain circumstances, so the easiest way is to reset it
within the handler. This is currently prevented by the way the code in
the event handler works -- change that to permit such usage.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
wpa_supplicant/events.c