Skip to content

Commit d66233a

Browse files
shimodaykuba-moo
authored andcommitted
net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
After system resumed on some environment board, the promiscuous mode is disabled because the SoC turned off. So, call ravb_set_rx_mode() in the ravb_resume() to fix the issue. Reported-by: Tho Vu <[email protected]> Fixes: 0184165 ("ravb: add sleep PM suspend/resume support") Signed-off-by: Yoshihiro Shimoda <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 178833f commit d66233a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/renesas/ravb_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,6 +3020,7 @@ static int __maybe_unused ravb_resume(struct device *dev)
30203020
ret = ravb_open(ndev);
30213021
if (ret < 0)
30223022
return ret;
3023+
ravb_set_rx_mode(ndev);
30233024
netif_device_attach(ndev);
30243025
}
30253026

0 commit comments

Comments
 (0)