From 4bd9f2eda5d544c4f9a5f39a995a339d64a92ceb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 9 Aug 2023 10:50:53 +0200 Subject: [PATCH] mac80211: fix setting mesh parameters after hostapd reload change Signed-off-by: Felix Fietkau --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index d87a2c6312..81c08b00bb 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -765,7 +765,7 @@ mac80211_prepare_iw_htmode() { mac80211_add_mesh_params() { for var in $MP_CONFIG_INT $MP_CONFIG_BOOL $MP_CONFIG_STRING; do - eval "mp_val=\"\$var\"" + eval "mp_val=\"\$$var\"" [ -n "$mp_val" ] && json_add_string "$var" "$mp_val" done } -- 2.30.2