aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-12-05 00:01:28 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-12-08 19:51:53 +0100
commit4225b83a76b86b7722609347f6e8a7f9433e1ea0 (patch)
treeae427290af998199f98f93aaec8eed692f199ac3 /package/network/services
parent231dc26867b4619364b91bc310e124ac846000b8 (diff)
downloadupstream-4225b83a76b86b7722609347f6e8a7f9433e1ea0.tar.gz
upstream-4225b83a76b86b7722609347f6e8a7f9433e1ea0.tar.bz2
upstream-4225b83a76b86b7722609347f6e8a7f9433e1ea0.zip
hostapd: fix crash regression triggered by mesh mode
Fixes: 60fb4c92b6 ("hostapd: add ubus reload") Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: polish commit message]
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/hostapd/patches/700-wifi-reload.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/700-wifi-reload.patch b/package/network/services/hostapd/patches/700-wifi-reload.patch
index c5ba631a0f..b21ae85451 100644
--- a/package/network/services/hostapd/patches/700-wifi-reload.patch
+++ b/package/network/services/hostapd/patches/700-wifi-reload.patch
@@ -87,7 +87,7 @@
hapd->iconf = conf;
hapd->conf = bss;
hapd->iface = hapd_iface;
-+ if (bss->config_id)
++ if (bss && bss->config_id)
+ hapd->config_id = strdup(bss->config_id);
+ else
+ hapd->config_id = NULL;