Browse Source

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

SVN-Revision: 14197
Felix Fietkau 17 years ago
parent
commit
3f3b9a86a3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      package/madwifi/patches/393-mbss_vap_auth.patch

+ 4 - 1
package/madwifi/patches/393-mbss_vap_auth.patch

@@ -182,7 +182,7 @@
  	IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
  
  	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)
 +		return;
 +
++	if (!IEEE80211_ADDR_EQ(rni->ni_macaddr, ni->ni_macaddr))
++		return;
++
 +	ieee80211_node_leave(ni);
 +}
 +