From 1fc373c5d3e13bc9076efc144d47f6b28969ab99 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 2 Feb 2010 02:19:01 +0000 Subject: [PATCH] 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 --- package/mac80211/files/lib/wifi/mac80211.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 44082aa990..62b8e7ed3a 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -247,6 +247,7 @@ enable_mac80211() { # Hostapd will handle recreating the interface and # it's accompanying monitor apidx="$(($apidx + 1))" + i=$(($i + 1)) [ "$apidx" -gt 1 ] || iw phy "$phy" interface add "$ifname" type managed ;; mesh) -- 2.11.0