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)
commit3830200d6ad8f0197ca4f8e0a99d3a043214de10
treede57ee03d16ef9066973c404b5394c8ed2652f54
parentca77367dae317ea79150e86decf6943e766c0745
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