mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user