|
@@ -872,11 +872,10 @@ static irqreturn_t ftmac100_interrupt(int irq, void *dev_id)
|
|
|
struct net_device *netdev = dev_id;
|
|
struct net_device *netdev = dev_id;
|
|
|
struct ftmac100 *priv = netdev_priv(netdev);
|
|
struct ftmac100 *priv = netdev_priv(netdev);
|
|
|
|
|
|
|
|
- if (likely(netif_running(netdev))) {
|
|
|
|
|
- /* Disable interrupts for polling */
|
|
|
|
|
- ftmac100_disable_all_int(priv);
|
|
|
|
|
|
|
+ /* Disable interrupts for polling */
|
|
|
|
|
+ ftmac100_disable_all_int(priv);
|
|
|
|
|
+ if (likely(netif_running(netdev)))
|
|
|
napi_schedule(&priv->napi);
|
|
napi_schedule(&priv->napi);
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
return IRQ_HANDLED;
|
|
return IRQ_HANDLED;
|
|
|
}
|
|
}
|