aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas/rx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c
index 6332fd451a1e..149557a478ac 100644
--- a/drivers/net/wireless/libertas/rx.c
+++ b/drivers/net/wireless/libertas/rx.c
@@ -247,7 +247,10 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
247 priv->stats.rx_packets++; 247 priv->stats.rx_packets++;
248 248
249 skb->protocol = eth_type_trans(skb, dev); 249 skb->protocol = eth_type_trans(skb, dev);
250 netif_rx(skb); 250 if (in_interrupt())
251 netif_rx(skb);
252 else
253 netif_rx_ni(skb);
251 254
252 ret = 0; 255 ret = 0;
253done: 256done: