X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fhostapd%2Ffiles%2Fhostapd.sh;h=a2f2d6fd1d4d46d200b4f3837b1be821fb646389;hp=1ce62fd767cacc7e6c984dd87946ceef5a2608bc;hb=a19770cb5384778b45540e4e4d90d33c5ca48b02;hpb=954e1760232dc5d4b11d0584e5e1b21b31447326 diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 1ce62fd767..a2f2d6fd1d 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -67,6 +67,7 @@ hostapd_setup_vif() { ;; *) wpa=0 + crypto= ;; esac config_get ifname "$vif" ifname @@ -94,7 +95,7 @@ ${bridge:+bridge=$bridge} ssid=$ssid debug=0 wpa=$wpa -wpa_pairwise=$crypto +${crypto:+wpa_pairwise=$crypto} $hostapd_cfg EOF hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf