aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-11-25 11:46:15 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-28 15:05:01 -0500
commit8c0c709eea5cbab97fb464cd68b06f24acc58ee1 (patch)
tree23af087965cd5f6142e951eccbee1817560e6506 /net/mac80211/rx.c
parente60d7443e00a72a2c056950cdaab79c7b077f3d4 (diff)
mac80211: move cmntr flag out of rx flags
The RX flags should soon be used only for flags that cannot change within an a-MPDU, so move the cooked monitor flag into the RX status flags. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 96f13ad05d3c..097bb0343b91 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1868,7 +1868,7 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
1868 struct net_device *prev_dev = NULL; 1868 struct net_device *prev_dev = NULL;
1869 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); 1869 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
1870 1870
1871 if (rx->flags & IEEE80211_RX_CMNTR_REPORTED) 1871 if (status->flag & RX_FLAG_INTERNAL_CMTR)
1872 goto out_free_skb; 1872 goto out_free_skb;
1873 1873
1874 if (skb_headroom(skb) < sizeof(*rthdr) && 1874 if (skb_headroom(skb) < sizeof(*rthdr) &&
@@ -1929,7 +1929,7 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
1929 } else 1929 } else
1930 goto out_free_skb; 1930 goto out_free_skb;
1931 1931
1932 rx->flags |= IEEE80211_RX_CMNTR_REPORTED; 1932 status->flag |= RX_FLAG_INTERNAL_CMTR;
1933 return; 1933 return;
1934 1934
1935 out_free_skb: 1935 out_free_skb: