Re: [PATCH net-next v2 1/7] net: bcmgenet: set Rx mode before starting netif
From: Florian Fainelli
Date: Wed Apr 29 2020 - 17:21:41 EST
On 4/29/20 1:02 PM, Doug Berger wrote:
> This commit explicitly calls the bcmgenet_set_rx_mode() function when
> the network interface is started. This function is normally called by
> ndo_set_rx_mode when the flags are changed, but apparently not when
> the driver is suspended and resumed.
>
> This change ensures that address filtering or promiscuous mode are
> properly restored by the driver after the MAC may have been reset.
>
> Fixes: b6e978e50444 ("net: bcmgenet: add suspend/resume callbacks")
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian