sometimes an interface does not get added to the bridge properly
this seems to be a race of interface setup vs wpa_supplicant
fix this by configuring the interface only after wpa_supplicant has been started
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20106
3c298f89-4303-0410-b956-
a3cf2f4a3e73
ifconfig "$ifname" up
if [ ! "$mode" = "ap" ]; then
ifconfig "$ifname" up
if [ ! "$mode" = "ap" ]; then
- mac80211_start_vif "$vif" "$ifname"
-
case "$mode" in
adhoc)
config_get bssid "$vif" bssid
case "$mode" in
adhoc)
config_get bssid "$vif" bssid
+ mac80211_start_vif "$vif" "$ifname"