Developing lightweight computation at the DSG edge

Commit 511934a2 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system]: Fix ESSID name passed to ap, aplan and client templates in qmp_wireless.sh

This patch fixes the ESSID naming in ap, aplan and client templates, where QMP_SSID was
being used instead of QMP_APSSID.
parent c979b4e4
......@@ -326,7 +326,7 @@ qmp_configure_wifi_device() {
-e s/"#QMP_RADIO"/"$radio"/ \
-e s/"#QMP_DEVICE"/"${device}ap"/ \
-e s/"#QMP_IFNAME"/"${device}ap"/ \
-e s/"#QMP_SSID"/"$(echo "${essidap:0:32}" | sed -e 's|/|\\/|g')"/ \
-e s/"#QMP_APSSID"/"$(echo "${essidap:0:32}" | sed -e 's|/|\\/|g')"/ \
-e s/"#QMP_NETWORK"/"lan"/ \
-e s/"#QMP_ENC"/"$encrypt"/ \
-e s/"#QMP_KEY"/"$key"/ \
......
wireless.#QMP_DEVICE.device=#QMP_RADIO
wireless.#QMP_DEVICE.mode=ap
wireless.#QMP_DEVICE.ssid=#QMP_SSID
wireless.#QMP_DEVICE.ssid=#QMP_APSSID
wireless.#QMP_DEVICE.network=#QMP_NETWORK
wireless.#QMP_DEVICE.encryption=#QMP_ENC
wireless.#QMP_DEVICE.key=#QMP_KEY
......
wireless.#QMP_DEVICE.device=#QMP_RADIO
wireless.#QMP_DEVICE.mode=ap
wireless.#QMP_DEVICE.ssid=#QMP_SSID
wireless.#QMP_DEVICE.ssid=#QMP_APSSID
wireless.#QMP_DEVICE.network=lan
wireless.#QMP_DEVICE.encryption=#QMP_ENC
wireless.#QMP_DEVICE.key=#QMP_KEY
......
wireless.#QMP_DEVICE.device=#QMP_RADIO
wireless.#QMP_DEVICE.mode=sta
wireless.#QMP_DEVICE.ssid=#QMP_SSID
wireless.#QMP_DEVICE.ssid=#QMP_APSSID
wireless.#QMP_DEVICE.network=#QMP_NETWORK
wireless.#QMP_DEVICE.encryption=#QMP_ENC
wireless.#QMP_DEVICE.key=#QMP_KEY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment