hostapd: Fix early init failure path
authorJouni Malinen <j@w1.fi>
Sun, 12 Jun 2016 21:36:18 +0000 (00:36 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 12 Jun 2016 21:37:23 +0000 (00:37 +0300)
commitcc27c8e68001aaa28599bf9e91025540d492efb8
tree00ecef6a3ef21b14844672ced62c1223c4542da0
parent976dfb32377c243c7d245ec2933f37f6c18ce23b
hostapd: Fix early init failure path

eloop deinit calls could trigger segmentation fault if the early error
path is hit before eloop_init() gets called.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/main.c
src/ap/hostapd.h