hostapd.sh: Add support for "anonymous_identity" config field
authorHauke Mehrtens <[email protected]>
Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)
committerHauke Mehrtens <[email protected]>
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 <[email protected]>
Reviewed-by: Manuel Munz <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 49181
package/network/services/hostapd/files/netifd.sh