hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)

SVN-Revision: 33053
This commit is contained in:
Jo-Philipp Wich 2012-08-08 11:13:12 +00:00
parent 5d37f15006
commit 55c322dc68
2 changed files with 3 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hostapd PKG_NAME:=hostapd
PKG_VERSION:=20120428 PKG_VERSION:=20120428
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_REV:=1f0cc27eb98f7d1af9c64d0752238184cbdb9a24 PKG_REV:=1f0cc27eb98f7d1af9c64d0752238184cbdb9a24
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

View file

@ -127,6 +127,8 @@ wpa_supplicant_setup_vif() {
local fixed_freq bssid1 beacon_interval brates mrate local fixed_freq bssid1 beacon_interval brates mrate
config_get ifname "$vif" ifname config_get ifname "$vif" ifname
config_get bridge "$vif" bridge config_get bridge "$vif" bridge
config_get ssid "$vif" ssid
config_get bssid "$vif" bssid
bssid1=${bssid:+"bssid=$bssid"} bssid1=${bssid:+"bssid=$bssid"}
beacon_interval=${beacon_int:+"beacon_interval=$beacon_int"} beacon_interval=${beacon_int:+"beacon_interval=$beacon_int"}