]> git.ipfire.org Git - thirdparty/hostap.git/commit
Remove duplicate dl_list_init() for global_ctrl_dst
authorMichael Braun <michael-dev@fami-braun.de>
Fri, 21 Oct 2016 11:11:56 +0000 (13:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2016 21:55:49 +0000 (00:55 +0300)
commita1047f55b8a56bddf46c064c9e328fe3e30321b3
treec29fd125ab240bb39d0bd0ad25b2957cb36cb6fb
parent3765c9705ce54427aed0adb91f48a53671b59e40
Remove duplicate dl_list_init() for global_ctrl_dst

Commit 56885eecf4026b0199d5ba75bd50395a17d323cc ('hostapd: Add UDP
support for ctrl_iface') added dl_list_init() for global_ctrl_dst to
hostapd_global_ctrl_iface_init().

Though, hostapd_global_ctrl_iface_init() is only called from
main.c:main(), which already initializes global_ctrl_dst unconditionally
before. Same with global_ctrl_sock.

Remove this duplicate initialization.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
hostapd/ctrl_iface.c