source: branches/backfire/package/mac80211/patches/582-mac80211_fix_ibss_probereq_handling.patch @ 26285

Last change on this file since 26285 was 26285, checked in by nbd, 6 years ago

mac80211: fix dropping multicast proberequest frames for ad-hoc (backport of r26284)

File size: 788 bytes
  • net/mac80211/ibss.c

    a b static void ieee80211_sta_find_ibss(stru 
    661661static void ieee80211_rx_mgmt_probe_req(struct ieee80211_sub_if_data *sdata, 
    662662                                        struct sk_buff *req) 
    663663{ 
    664         struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(req); 
    665664        struct ieee80211_mgmt *mgmt = (void *)req->data; 
    666665        struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; 
    667666        struct ieee80211_local *local = sdata->local; 
    static void ieee80211_rx_mgmt_probe_req( 
    685684               mgmt->bssid, tx_last_beacon); 
    686685#endif /* CONFIG_MAC80211_IBSS_DEBUG */ 
    687686 
    688         if (!tx_last_beacon && !(rx_status->rx_flags & IEEE80211_RX_RA_MATCH)) 
     687        if (!tx_last_beacon && is_multicast_ether_addr(mgmt->da)) 
    689688                return; 
    690689 
    691690        if (memcmp(mgmt->bssid, ifibss->bssid, ETH_ALEN) != 0 && 
Note: See TracBrowser for help on using the repository browser.