1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 18:14:35 +02:00

mac80211: fix setup with more than 2 ap mode interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19494 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2010-02-02 02:19:01 +00:00
parent 10fe069209
commit 1fc373c5d3

View File

@ -247,6 +247,7 @@ enable_mac80211() {
# Hostapd will handle recreating the interface and # Hostapd will handle recreating the interface and
# it's accompanying monitor # it's accompanying monitor
apidx="$(($apidx + 1))" apidx="$(($apidx + 1))"
i=$(($i + 1))
[ "$apidx" -gt 1 ] || iw phy "$phy" interface add "$ifname" type managed [ "$apidx" -gt 1 ] || iw phy "$phy" interface add "$ifname" type managed
;; ;;
mesh) mesh)