Commit 2ec833a5 authored by Johannes Berg's avatar Johannes Berg

wifi: mac80211: report link ID to cfg80211 on mgmt RX

For frames received on an MLD, report the link ID to
userspace.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6074c9e5
...@@ -3647,7 +3647,9 @@ ieee80211_rx_h_userspace_mgmt(struct ieee80211_rx_data *rx) ...@@ -3647,7 +3647,9 @@ ieee80211_rx_h_userspace_mgmt(struct ieee80211_rx_data *rx)
struct cfg80211_rx_info info = { struct cfg80211_rx_info info = {
.freq = ieee80211_rx_status_to_khz(status), .freq = ieee80211_rx_status_to_khz(status),
.buf = rx->skb->data, .buf = rx->skb->data,
.len = rx->skb->len .len = rx->skb->len,
.link_id = rx->link_id,
.have_link_id = rx->link_id >= 0,
}; };
/* skip known-bad action frames and return them in the next handler */ /* skip known-bad action frames and return them in the next handler */
......
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