Re: [PATCH net-next] r8152: modify the check of the flag of PHY_RESET in set_speed function

From: David Miller
Date: Thu Jun 16 2016 - 20:08:51 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Thu, 16 Jun 2016 14:08:29 +0800

> In set_speed(), BMCR_RESET would be set when the flag of PHY_RESET
> is set. Use BMCR_RESET to replace testing the flag of PHY_RESET.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Applied, thanks.