Skip to content
Snippets Groups Projects
Commit 575efe98 authored by Reidar Cederqvist's avatar Reidar Cederqvist
Browse files

hostapd: fix 5GHz fails to start after reboot

The hostapd multi_ap_blacklist was accessed before initialized,
which caused memory fault
parent 7aa6601e
No related branches found
No related tags found
1 merge request!12hostapd: fix 5GHz fails to start after reboot
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -2198,6 +2198,8 @@ hostapd_alloc_bss_data(struct hostapd_if
hapd->ctrl_sock = -1;
dl_list_init(&hapd->ctrl_dst);
dl_list_init(&hapd->nr_db);
+ dl_list_init(&hapd->erp_keys);
+ dl_list_init(&hapd->multi_ap_blacklist);
return hapd;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment