mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
nvethernet: remove dev_set_rx_mode() from resume path
Issue: TOT build breaks if nvethernet driver build as loadable kernel module. dev_set_rx_mode() API is not having EXPORT_SYMBOL declaration. Fix: remove calling dev_set_rx_mode() form resume path. Bug 2715384 Change-Id: Iac0d0555c699d2bc13d61cc680f44e5ee6dc4d2d Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2231329 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
c45ba21f05
commit
2bf3b730d8
@@ -3715,8 +3715,6 @@ static int ether_resume(struct ether_priv_data *pdata)
|
||||
osi_start_mac(osi_core);
|
||||
/* start phy */
|
||||
phy_start(pdata->phydev);
|
||||
/* call dev_set_rx_mode so it will be serialized and avoid race*/
|
||||
dev_set_rx_mode(ndev);
|
||||
/* start network queues */
|
||||
netif_tx_start_all_queues(ndev);
|
||||
/* re-start workqueue */
|
||||
|
||||
Reference in New Issue
Block a user