Revert "r8168: a ugly hack to light up LAN led on NanoPi R4S"

This reverts commit 6c3f6d2686679173b95495c47d861db1f41729dd.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-04-29 13:36:26 +08:00
parent 53c46cbd3a
commit aeb61021db
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -24441,7 +24441,6 @@ rtl8168_init_software_variable(struct net_device *dev)
tp->NotWrMcuPatchCode = TRUE;
}
RTL_W16(tp, CustomLED, 0x870);
tp->NicCustLedValue = RTL_R16(tp, CustomLED);
rtl8168_get_hw_wol(dev);