mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates...
[openwrt.git] / package / mac80211 / patches / 570-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 &&
This page took 0.04256 seconds and 5 git commands to generate.