hostapd: Deinit ctrl_iface in case of add interface failure
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Nov 2013 23:31:23 +0000 (01:31 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 23:32:55 +0000 (01:32 +0200)
commit486d2ff0eb3d20798debdb7e34b5c2ff77d18bab
tree576bd8ce0000058b1f7d305684ac25fb866e128c
parent8540e0b520062e95e42f8e213b12f8a2f552b22c
hostapd: Deinit ctrl_iface in case of add interface failure

Since the control interface is now initialized as part of
hostapd_setup_interface(), it needs to be deinitialized on the error
path.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hostapd.c