diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-11 05:15:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-11 05:15:51 +0000 |
commit | 46b2f0a154046755bf15ebf01f912db5da10fe8a (patch) | |
tree | c97c8206fadb6e769b03be68608c095ad6cd5eae /package/hostapd/files | |
parent | 57109ac50cd9c31e3dedad75f8a92407d4971df0 (diff) | |
download | upstream-46b2f0a154046755bf15ebf01f912db5da10fe8a.tar.gz upstream-46b2f0a154046755bf15ebf01f912db5da10fe8a.tar.bz2 upstream-46b2f0a154046755bf15ebf01f912db5da10fe8a.zip |
hostapd: implement wds ap support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files')
-rw-r--r-- | package/hostapd/files/hostapd.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 2210a46aff..4a13c19ab2 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -77,7 +77,9 @@ hostapd_setup_vif() { config_get channel "$device" channel config_get hwmode "$device" hwmode config_get wpa_group_rekey "$vif" wpa_group_rekey - config_get ieee80211d "$vif" ieee80211d + config_get ieee80211d "$vif" ieee80211d + config_get_bool wds "$vif" wds 0 + [ "$wds" -gt 0 -a "$driver" = "nl80211" ] && wds="wds_sta=1" || wds="" case "$hwmode" in bg) hwmode=g;; esac @@ -109,6 +111,7 @@ ${hwmode_11n:+ieee80211n=1} ${ht_capab:+ht_capab=$ht_capab} ${wpa_group_rekey:+wpa_group_rekey=$wpa_group_rekey} ${ieee80211d:+ieee80211d=$ieee80211d} +$wds $hostapd_cfg EOF case "$driver" in |