hostapd.sh: Add support for "anonymous_identity" config field
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)
commitf28ca8237ee950e4c592393a8b565e493d2b5c5f
treedcb11ff222a9e26587b1b4522170248c0a9b9e87
parent8bd4e65afb5b82c4da6cd17260e5cec4d825ac0f
hostapd.sh: Add support for "anonymous_identity" config field

The wpa_supplicant supports an "anonymous_identity" field, which some
EAP networks require.  From the documentation:

anonymous_identity: Anonymous identity string for EAP (to be used as the
    unencrypted identity with EAP types that support different tunnelled
    identity, e.g., EAP-TTLS).

This change modifies the hostapd.sh script to propagate this field
from the UCI config to the wpa_supplicant.conf file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Reviewed-by: Manuel Munz <freifunk@somakoma.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49181 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/hostapd/files/netifd.sh