qos-scripts: remove the layer7 based classifiers from the default configuration ...
[openwrt-10.03/.git] / package / mac80211 / patches / 582-mac80211_fix_ibss_probereq_handling.patch
1 --- a/net/mac80211/ibss.c
2 +++ b/net/mac80211/ibss.c
3 @@ -661,7 +661,6 @@ static void ieee80211_sta_find_ibss(stru
4  static void ieee80211_rx_mgmt_probe_req(struct ieee80211_sub_if_data *sdata,
5                                         struct sk_buff *req)
6  {
7 -       struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(req);
8         struct ieee80211_mgmt *mgmt = (void *)req->data;
9         struct ieee80211_if_ibss *ifibss = &sdata->u.ibss;
10         struct ieee80211_local *local = sdata->local;
11 @@ -685,7 +684,7 @@ static void ieee80211_rx_mgmt_probe_req(
12                mgmt->bssid, tx_last_beacon);
13  #endif /* CONFIG_MAC80211_IBSS_DEBUG */
14  
15 -       if (!tx_last_beacon && !(rx_status->rx_flags & IEEE80211_RX_RA_MATCH))
16 +       if (!tx_last_beacon && is_multicast_ether_addr(mgmt->da))
17                 return;
18  
19         if (memcmp(mgmt->bssid, ifibss->bssid, ETH_ALEN) != 0 &&