diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-08-03 11:08:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-03 12:11:43 -0700 |
commit | 9e85e22713d6fed4873057493d6307c08b1d86a6 (patch) | |
tree | 89f66a57e1156235c25bc3f40512e306bceab8aa /drivers | |
parent | c0e6820b7e4175171f302df6cc4706b818f4a691 (diff) | |
download | lwn-9e85e22713d6fed4873057493d6307c08b1d86a6.tar.gz lwn-9e85e22713d6fed4873057493d6307c08b1d86a6.zip |
net: systemport: Do not re-configure upon WoL interrupt
We already properly resume from Wake-on-LAN whether such a condition
occured or not, no need to process the WoL interrupt for functional
changes since that could race with other settings.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcmsysport.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.c b/drivers/net/ethernet/broadcom/bcmsysport.c index 631617d95769..7faad9e1a6f9 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.c +++ b/drivers/net/ethernet/broadcom/bcmsysport.c @@ -1102,10 +1102,8 @@ static irqreturn_t bcm_sysport_rx_isr(int irq, void *dev_id) if (priv->irq0_stat & INTRL2_0_TX_RING_FULL) bcm_sysport_tx_reclaim_all(priv); - if (priv->irq0_stat & INTRL2_0_MPD) { + if (priv->irq0_stat & INTRL2_0_MPD) netdev_info(priv->netdev, "Wake-on-LAN interrupt!\n"); - bcm_sysport_resume_from_wol(priv); - } if (!priv->is_lite) goto out; |