madwifi: add back a missing part of the mbss vap refactoring
authorFelix Fietkau <nbd@openwrt.org>
Mon, 26 Jan 2009 05:31:18 +0000 (05:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 26 Jan 2009 05:31:18 +0000 (05:31 +0000)
SVN-Revision: 14197

package/madwifi/patches/393-mbss_vap_auth.patch

index ad817a0836fad99644720a8906e3eca0dcc040c8..c887336fb681c4c568acb2b5b06ade5d3079ad78 100644 (file)
        IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
  
        if (ni == NULL) {
        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
                }
  }
  
                }
  }
  
 +      if (ni->ni_vap == rni->ni_vap)
 +              return;
 +
 +      if (ni->ni_vap == rni->ni_vap)
 +              return;
 +
++      if (!IEEE80211_ADDR_EQ(rni->ni_macaddr, ni->ni_macaddr))
++              return;
++
 +      ieee80211_node_leave(ni);
 +}
 +
 +      ieee80211_node_leave(ni);
 +}
 +