Commit 1b737f88 authored by Johannes Berg's avatar Johannes Berg

mac80211: fix P2P-Device management frame RX

There's an issue in receiving broadcast management frames
on P2P Device virtual interfaces, such frames have the RX
flag IEEE80211_RX_RA_MATCH cleared and are thus dropped
in ieee80211_rx_h_mgmt_check(). They should be let through
to make it to ieee80211_rx_h_userspace_mgmt() and then to
Signed-off-by: default avatarJohannes Berg <>
parent eea85999
......@@ -3043,7 +3043,8 @@ static int prepare_for_handlers(struct ieee80211_rx_data *rx,
!ieee80211_is_probe_resp(hdr->frame_control) &&
return 0;
if (!ether_addr_equal(sdata->vif.addr, hdr->addr1))
if (!ether_addr_equal(sdata->vif.addr, hdr->addr1) &&
status->rx_flags &= ~IEEE80211_RX_RA_MATCH;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment