Author: blogic Date: 2015-11-24 19:28:44 +0100 (Tue, 24 Nov 2015) New Revision: 47615
Modified: trunk/package/network/services/hostapd/files/netifd.sh Log: wpa-supplicant: Get 802.11s ssid information from option mesh_id The scripts for authsae and iw use the option mesh_id to get set the "meshid" during a mesh join. But the script for wpad-mesh ignores the option mesh_id and instead uses the option ssid. Unify the mesh configuration and let the wpa_supplicant script also use the mesh_id from the configuration. Signed-off-by: Sven Eckelmann <[email protected]> Modified: trunk/package/network/services/hostapd/files/netifd.sh =================================================================== --- trunk/package/network/services/hostapd/files/netifd.sh 2015-11-24 18:28:35 UTC (rev 47614) +++ trunk/package/network/services/hostapd/files/netifd.sh 2015-11-24 18:28:44 UTC (rev 47615) @@ -581,6 +581,9 @@ } [[ "$_w_mode" = "mesh" ]] && { + json_get_vars mesh_id + ssid="${mesh_id}" + append network_data "mode=5" "$N$T" [ -n "$channel" ] && { freq="$(get_freq "$phy" "$channel")" _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
