commit | fae5617877f2e1040106385d94529f30780525e1 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Thu Jun 16 14:08:29 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 16 17:08:33 2016 -0700 |
tree | 2147a8926c585ff956ded1eead44b38d80b2fbd1 | |
parent | d21cfb375eb07ce294ac29a0a51e45413fc8506d [diff] |
r8152: modify the check of the flag of PHY_RESET in set_speed function 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@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>