Re: [PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-05 Thread Simon Horman
On Sat, Oct 05, 2019 at 07:54:15PM +0800, Kai-Heng Feng wrote: > > > > On Oct 5, 2019, at 19:46, Simon Horman wrote: > > > > On Fri, Oct 04, 2019 at 08:51:04PM +0800, Kai-Heng Feng wrote: > >> r8152 may fail to establish network connection after resume from system > >> suspend. > >> > >> If th

Re: [PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-05 Thread Kai-Heng Feng
> On Oct 5, 2019, at 19:46, Simon Horman wrote: > > On Fri, Oct 04, 2019 at 08:51:04PM +0800, Kai-Heng Feng wrote: >> r8152 may fail to establish network connection after resume from system >> suspend. >> >> If the USB port connects to r8152 lost its power during system suspend, >> the MAC ad

Re: [PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-05 Thread Simon Horman
On Fri, Oct 04, 2019 at 08:51:04PM +0800, Kai-Heng Feng wrote: > r8152 may fail to establish network connection after resume from system > suspend. > > If the USB port connects to r8152 lost its power during system suspend, > the MAC address was written before is lost. The reason is that The MAC >

Re: [PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-04 Thread David Miller
From: Kai-Heng Feng Date: Fri, 4 Oct 2019 20:51:04 +0800 > r8152 may fail to establish network connection after resume from system > suspend. > > If the USB port connects to r8152 lost its power during system suspend, > the MAC address was written before is lost. The reason is that The MAC > ad

[PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-04 Thread Kai-Heng Feng
r8152 may fail to establish network connection after resume from system suspend. If the USB port connects to r8152 lost its power during system suspend, the MAC address was written before is lost. The reason is that The MAC address doesn't get written again in its reset_resume callback. So let's