diff options
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index 47ccf159372c..dd746e38db5d 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -402,9 +402,9 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | |||
402 | #endif | 402 | #endif |
403 | 403 | ||
404 | if (ieee->iw_mode == IW_MODE_MONITOR) { | 404 | if (ieee->iw_mode == IW_MODE_MONITOR) { |
405 | ieee80211_monitor_rx(ieee, skb, rx_stats); | ||
406 | stats->rx_packets++; | 405 | stats->rx_packets++; |
407 | stats->rx_bytes += skb->len; | 406 | stats->rx_bytes += skb->len; |
407 | ieee80211_monitor_rx(ieee, skb, rx_stats); | ||
408 | return 1; | 408 | return 1; |
409 | } | 409 | } |
410 | 410 | ||