net: dp83867: Fix WoL SecureOn password
authorDan Murphy <dmurphy@ti.com>
Wed, 2 Sep 2020 19:27:04 +0000 (14:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2020 23:04:59 +0000 (16:04 -0700)
commit8b4a11c67da538504d60ae917ffe5254f59b1248
tree6f7dcf184219a04b2b699ba5b1fa18dd484ad606
parentf614e536704d37326b0975da9cc33dd61d28c378
net: dp83867: Fix WoL SecureOn password

Fix the registers being written to as the values were being over written
when writing the same registers.

Fixes: caabee5b53f5 ("net: phy: dp83867: support Wake on LAN")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c