1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-12 01:40:15 +02:00

madwifi: add back a missing part of the mbss vap refactoring

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14197 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-01-26 05:31:18 +00:00
parent 486e1091a7
commit 9906ababb7

View File

@ -182,7 +182,7 @@
IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt); IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
if (ni == NULL) { if (ni == NULL) {
@@ -1961,13 +2012,29 @@ remove_worse_nodes(void *arg, struct iee @@ -1961,13 +2012,32 @@ remove_worse_nodes(void *arg, struct iee
} }
} }
@ -197,6 +197,9 @@
+ if (ni->ni_vap == rni->ni_vap) + if (ni->ni_vap == rni->ni_vap)
+ return; + return;
+ +
+ if (!IEEE80211_ADDR_EQ(rni->ni_macaddr, ni->ni_macaddr))
+ return;
+
+ ieee80211_node_leave(ni); + ieee80211_node_leave(ni);
+} +}
+ +