Interworking: Start ANQP fetch from eloop callback
authorJouni Malinen <j@w1.fi>
Fri, 16 Jan 2015 23:39:34 +0000 (01:39 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 16 Jan 2015 23:51:47 +0000 (01:51 +0200)
commitedd5939a26da9860f65e195bca730f8687e9d3e8
tree01f37c2a0aa69f693b0e46fd898302afbe5bff97
parent6ace81ea77b1e9cb6a335c034a8bb01f2e17fdd3
Interworking: Start ANQP fetch from eloop callback

Reduce maximum stack use by starting next ANQP fetch operation from an
eloop callback rather than calling interworking_next_anqp_fetch()
directly from interworking_start_fetch_anqp(). This avoids issues that
could potentially make the process run out of stack if long loops of
ANQP operations are executed in cases where automatic Interworking
network selection is used and scan results do not have a full match for
a network.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/interworking.c