|
@@ -402,9 +402,9 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
if (ieee->iw_mode == IW_MODE_MONITOR) {
|
|
if (ieee->iw_mode == IW_MODE_MONITOR) {
|
|
- ieee80211_monitor_rx(ieee, skb, rx_stats);
|
|
|
|
stats->rx_packets++;
|
|
stats->rx_packets++;
|
|
stats->rx_bytes += skb->len;
|
|
stats->rx_bytes += skb->len;
|
|
|
|
+ ieee80211_monitor_rx(ieee, skb, rx_stats);
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|