From 4225b83a76b86b7722609347f6e8a7f9433e1ea0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 5 Dec 2019 00:01:28 +0100 Subject: [PATCH] hostapd: fix crash regression triggered by mesh mode Fixes: 60fb4c92b6 ("hostapd: add ubus reload") Signed-off-by: Felix Fietkau Signed-off-by: Daniel Golle [daniel@makrotopia.org: polish commit message] --- package/network/services/hostapd/patches/700-wifi-reload.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2