Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac316c78 authored by Giuseppe CAVALLARO's avatar Giuseppe CAVALLARO Committed by David S. Miller
Browse files

stmmac: fix a filter problem after resuming.



When resume the HW is re-configured but some settings can be lost.
For example, the MAC Address_X High/Low Registers used for VLAN tagging..
So, while resuming, the set_filter callback needs to be invoked to
re-program perfect and hash-table registers.

Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ffad80a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3102,6 +3102,7 @@ int stmmac_resume(struct net_device *ndev)
	init_dma_desc_rings(ndev, GFP_ATOMIC);
	stmmac_hw_setup(ndev, false);
	stmmac_init_tx_coalesce(priv);
	stmmac_set_rx_mode(ndev);

	napi_enable(&priv->napi);