diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-08-15 07:51:28 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-23 10:06:03 -0400 |
commit | 19504cf5f35fbe85db811fce9f4392a0cbdada2f (patch) | |
tree | 29e8eaeb1a062cb3e843781c7dc4add821fd592b /net/mac80211 | |
parent | c4c205f3cd17b567b8e20098522416eac2e73960 (diff) |
cfg80211: add flags to cfg80211_rx_mgmt()
Add flags intended to report various auxiliary information
and introduce the NL80211_RXMGMT_FLAG_ANSWERED flag to report
that the frame was already answered by the device.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
[REPLIED->ANSWERED, reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index ffad155316a9..07901050812f 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2678,8 +2678,7 @@ ieee80211_rx_h_userspace_mgmt(struct ieee80211_rx_data *rx) | |||
2678 | sig = status->signal; | 2678 | sig = status->signal; |
2679 | 2679 | ||
2680 | if (cfg80211_rx_mgmt(&rx->sdata->wdev, status->freq, sig, | 2680 | if (cfg80211_rx_mgmt(&rx->sdata->wdev, status->freq, sig, |
2681 | rx->skb->data, rx->skb->len, | 2681 | rx->skb->data, rx->skb->len, 0, GFP_ATOMIC)) { |
2682 | GFP_ATOMIC)) { | ||
2683 | if (rx->sta) | 2682 | if (rx->sta) |
2684 | rx->sta->rx_packets++; | 2683 | rx->sta->rx_packets++; |
2685 | dev_kfree_skb(rx->skb); | 2684 | dev_kfree_skb(rx->skb); |