mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: fix interface setup for wds client
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
This commit is contained in:
@@ -353,8 +353,7 @@ enable_mac80211() {
|
|||||||
ifconfig "$ifname" up
|
ifconfig "$ifname" up
|
||||||
|
|
||||||
if [ ! "$mode" = "ap" ]; then
|
if [ ! "$mode" = "ap" ]; then
|
||||||
mac80211_start_vif "$vif" "$ifname"
|
ifconfig "$ifname" up
|
||||||
|
|
||||||
case "$mode" in
|
case "$mode" in
|
||||||
adhoc)
|
adhoc)
|
||||||
config_get bssid "$vif" bssid
|
config_get bssid "$vif" bssid
|
||||||
@@ -372,6 +371,7 @@ enable_mac80211() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
mac80211_start_vif "$vif" "$ifname"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user