summaryrefslogtreecommitdiff
path: root/package/hostapd/files/wpa_supplicant.sh
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-08 11:13:12 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-08 11:13:12 +0000
commitafdf66161f6e53a6ad435d3c4f42c548e22d83e4 (patch)
tree8678f5a6ce0406a34127a52bca92276d4be8aeff /package/hostapd/files/wpa_supplicant.sh
parentbc327ce0d17251be9d8ab3c31f70a02192e6be10 (diff)
[package] hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33053 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files/wpa_supplicant.sh')
-rw-r--r--package/hostapd/files/wpa_supplicant.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
index babacd7968..5c4bd93d02 100644
--- a/package/hostapd/files/wpa_supplicant.sh
+++ b/package/hostapd/files/wpa_supplicant.sh
@@ -127,6 +127,8 @@ wpa_supplicant_setup_vif() {
local fixed_freq bssid1 beacon_interval brates mrate
config_get ifname "$vif" ifname
config_get bridge "$vif" bridge
+ config_get ssid "$vif" ssid
+ config_get bssid "$vif" bssid
bssid1=${bssid:+"bssid=$bssid"}
beacon_interval=${beacon_int:+"beacon_interval=$beacon_int"}