hostapd: move reading of rsn_preauth out of auth_type=eap context
authorFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 11:55:36 +0000 (11:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 11:55:36 +0000 (11:55 +0000)
commit1d0df0313033aca29df839a4ffae3f5555eccf5f
tree116f51aa1d77ec166e20e4910c0b690512bf4d3f
parent59b79986842840b47b933b028019aafc9cee0442
hostapd: move reading of rsn_preauth out of auth_type=eap context

rsn_preauth is used outside of "case $auth_type", so if it is set
for an EAP-enabled SSID, it would also be set for the following
non-EAP-enabled SSIDs, because it would not be read again.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41012 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/hostapd/files/netifd.sh