[PATCH net v2 0/2] smsc911x: fix issues when interface is not up yet

Wolfram Sang posted 2 patches 2 years, 10 months ago
There is a newer version of this series
drivers/net/ethernet/smsc/smsc911x.c | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
[PATCH net v2 0/2] smsc911x: fix issues when interface is not up yet
Posted by Wolfram Sang 2 years, 10 months ago
Similar to upstream commit 7f5ebf5dae42 ("ravb: avoid PHY being resumed
when interface is not up"), here is the fix for SMSC911x (patch 2).
Also, I saw a splat running 'ifconfig' when interface was not up. Patch
1 fixes it. Thank to Geert for a comment on this one.

Patches are based on v6.2-rc3 and tested on a Renesas APE6-EK.

Changes since v1:
* patch 1 is not a revert but a proper fix this time


Wolfram Sang (2):
  smsc911x: only update stats when interface is up
  smsc911x: avoid PHY being resumed when interface is not up

 drivers/net/ethernet/smsc/smsc911x.c | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

-- 
2.30.2