aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/main.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2016-03-04 09:20:22 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-05 15:15:05 (GMT)
commit89b781bc89efa3600c9c44cd80af87125b167fa0 (patch)
treea83666c6abb066971034fbfafc629a5b0a961462 /hostapd/main.c
parent1a2124c6501b4f3ba448386148c870050971bed0 (diff)
downloadhostap-89b781bc89efa3600c9c44cd80af87125b167fa0.zip
hostap-89b781bc89efa3600c9c44cd80af87125b167fa0.tar.gz
hostap-89b781bc89efa3600c9c44cd80af87125b167fa0.tar.bz2
hostapd: Use common functions for ctrl_iface
Use the common functions, structures when UNIX socket ctrl_iface used. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Diffstat (limited to 'hostapd/main.c')
-rw-r--r--hostapd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/main.c b/hostapd/main.c
index 1b9002c..6c4e195 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -593,7 +593,7 @@ int main(int argc, char *argv[])
interfaces.global_iface_path = NULL;
interfaces.global_iface_name = NULL;
interfaces.global_ctrl_sock = -1;
- interfaces.global_ctrl_dst = NULL;
+ dl_list_init(&interfaces.global_ctrl_dst);
for (;;) {
c = getopt(argc, argv, "b:Bde:f:hKP:STtu:vg:G:");