diff options
| author | Yoshihiro Shimoda <[email protected]> | 2022-11-28 06:56:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-11-29 16:41:01 +0000 |
| commit | d66233a312ec9013af3e37e4030b479a20811ec3 (patch) | |
| tree | 517d7c57fe54f891f168ea924509765731bf4669 | |
| parent | MAINTAINERS: Update maintainer list for chelsio drivers (diff) | |
| download | kernel-d66233a312ec9013af3e37e4030b479a20811ec3.tar.gz kernel-d66233a312ec9013af3e37e4030b479a20811ec3.zip | |
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: 0184165b2f42 ("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]>
| -rw-r--r-- | drivers/net/ethernet/renesas/ravb_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 36324126db6d..6bc923326268 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -3020,6 +3020,7 @@ static int __maybe_unused ravb_resume(struct device *dev) ret = ravb_open(ndev); if (ret < 0) return ret; + ravb_set_rx_mode(ndev); netif_device_attach(ndev); } |
