]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ethernet/broadcom/bcmsysport.c
net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / broadcom / bcmsysport.c
index b9228c361172b32dbb8113566b6540e9ee1750a0..e6e0681b7fc85b42e864494ddf8cba72dd178cb0 100644 (file)
@@ -2459,6 +2459,9 @@ static int bcm_sysport_resume(struct device *d)
 
        umac_reset(priv);
 
+       /* Disable the UniMAC RX/TX */
+       umac_enable_set(priv, CMD_RX_EN | CMD_TX_EN, 0);
+
        /* We may have been suspended and never received a WOL event that
         * would turn off MPD detection, take care of that now
         */