From b816d6276dd4a4cbb057514c5556aebd65716867 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Tue, 24 Nov 2015 18:28:19 +0000
Subject: [PATCH] authsae: Fix meshid in authsae config

The variable $mesh_id was never defined in authsae_start_interface and thus
the option meshid in $authsae_conf_file was always set to "".

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47613
---
 package/network/services/authsae/files/lib/wifi/authsae.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/authsae/files/lib/wifi/authsae.sh b/package/network/services/authsae/files/lib/wifi/authsae.sh
index d8c5598ed59..6582a354de4 100644
--- a/package/network/services/authsae/files/lib/wifi/authsae.sh
+++ b/package/network/services/authsae/files/lib/wifi/authsae.sh
@@ -5,7 +5,7 @@ authsae_start_interface() {
 	local authsae_conf_file="/var/run/authsae-$ifname.cfg"
 	local ret=1
 
-	json_get_vars mcast_rate
+	json_get_vars mcast_rate mesh_id
 	set_default mcast_rate "12"
 
 	case "$htmode" in
-- 
GitLab