diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 282440216a87..5b617660b0ba 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1961,7 +1961,10 @@ ieee80211_deliver_skb(struct ieee80211_rx_data *rx) | |||
1961 | /* deliver to local stack */ | 1961 | /* deliver to local stack */ |
1962 | skb->protocol = eth_type_trans(skb, dev); | 1962 | skb->protocol = eth_type_trans(skb, dev); |
1963 | memset(skb->cb, 0, sizeof(skb->cb)); | 1963 | memset(skb->cb, 0, sizeof(skb->cb)); |
1964 | netif_receive_skb(skb); | 1964 | if (rx->local->napi) |
1965 | napi_gro_receive(rx->local->napi, skb); | ||
1966 | else | ||
1967 | netif_receive_skb(skb); | ||
1965 | } | 1968 | } |
1966 | 1969 | ||
1967 | if (xmit_skb) { | 1970 | if (xmit_skb) { |