hostapd.sh: Add support for "anonymous_identity" config field
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)
commit6a0afbb62df071f0d3a28df18b67fbeb0716e52d
treedcb11ff222a9e26587b1b4522170248c0a9b9e87
parentbd376156f677665a4422888fdc259411233f0e65
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>
SVN-Revision: 49181
package/network/services/hostapd/files/netifd.sh