net: lan78xx: Fix to write to OTP(One Time Programmable) per magic number.
authorWoojung.Huh@microchip.com <Woojung.Huh@microchip.com>
Tue, 5 Jan 2016 17:29:59 +0000 (17:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 21:39:34 +0000 (16:39 -0500)
commit9fb6066d0de0353622ee572e2b0e979bd62bb657
treeca51593e2e67348b6a62005f298521c4155c43b3
parent51cb67c0b0fcb91581b15bd2e85f29af4d4b2df6
net: lan78xx: Fix to write to OTP(One Time Programmable) per magic number.

This patch fixes a bug writing to EEPROM in lan78xx_ethtool_set_eeprom()
when asked to write to OTP.

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c