aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-23 23:39:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-23 23:39:54 +0000
commitf0a8a11ddfa2d58d9907b07bd537f6ba9e266c71 (patch)
treeac36be085b9943adcec164d07c4a8f88868d34cd /package/hostapd/files
parent580f1fe5825d817e97ba7aaab5e6d5a432a3f48c (diff)
downloadupstream-f0a8a11ddfa2d58d9907b07bd537f6ba9e266c71.tar.gz
upstream-f0a8a11ddfa2d58d9907b07bd537f6ba9e266c71.tar.bz2
upstream-f0a8a11ddfa2d58d9907b07bd537f6ba9e266c71.zip
hostapd/mac80211: implement support for AP+STA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files')
-rw-r--r--package/hostapd/files/wpa_supplicant.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
index 28d5d20565..515fa6c0da 100644
--- a/package/hostapd/files/wpa_supplicant.sh
+++ b/package/hostapd/files/wpa_supplicant.sh
@@ -2,6 +2,7 @@ wpa_supplicant_setup_vif() {
local vif="$1"
local driver="$2"
local key="$key"
+ local options="$3"
# wpa_supplicant should use wext for mac80211 cards
[ "$driver" = "mac80211" ] && driver='wext'
@@ -133,5 +134,5 @@ network={
}
EOF
[ -z "$proto" -a "$key_mgmt" != "NONE" ] || \
- wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
+ wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf $options
}