RE: [PATCH net 1/4] lan78xx: Fix for crash associated with System suspend

2017-09-06 Thread Nisar.Sayed
Thanks Andrew inputs. > On Wed, Sep 06, 2017 at 10:51:31AM +, nisar.sa...@microchip.com > wrote: > > From: Nisar Sayed > > > > Fix for crash associated with System suspend > > > > Since ndo_stop removes phydev which makes phydev NULL. > > Whenever system suspend is initiated or after "ifconf

Re: [PATCH net 1/4] lan78xx: Fix for crash associated with System suspend

2017-09-06 Thread Andrew Lunn
On Wed, Sep 06, 2017 at 10:51:31AM +, nisar.sa...@microchip.com wrote: > From: Nisar Sayed > > Fix for crash associated with System suspend > > Since ndo_stop removes phydev which makes phydev NULL. > Whenever system suspend is initiated or after "ifconfig down", > if set_wol or get_wol is

[PATCH net 1/4] lan78xx: Fix for crash associated with System suspend

2017-09-06 Thread Nisar.Sayed
From: Nisar Sayed Fix for crash associated with System suspend Since ndo_stop removes phydev which makes phydev NULL. Whenever system suspend is initiated or after "ifconfig down", if set_wol or get_wol is triggered phydev is NULL leads system crash. Hence phy_start/phy_stop for ndo_start/ndo_s