aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2017-11-27 04:19:38 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-12-08 13:53:03 +0100
commit5a8e9846af689be7bc3b1fb4a356c3e3c711b94a (patch)
tree4a5736a1f3ab8f65b1ccc3530148c9c36cdb4827 /target/linux
parent55e70c8b72dbb8e812ceb790bf08543d69fce86e (diff)
downloadupstream-5a8e9846af689be7bc3b1fb4a356c3e3c711b94a.tar.gz
upstream-5a8e9846af689be7bc3b1fb4a356c3e3c711b94a.tar.bz2
upstream-5a8e9846af689be7bc3b1fb4a356c3e3c711b94a.zip
ar71xx: C58/C59 fix LAN1 working incorrectly
This commit fixes LAN Port 1 not transferring data in case no other LAN Port has active link-state on TP-Link Archer C58/C59. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c
index 3c85a20550..c500c91a1a 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c
@@ -249,7 +249,7 @@ static void __init archer_c5x_v1_setup(void)
ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;
ath79_eth1_data.speed = SPEED_1000;
ath79_eth1_data.duplex = DUPLEX_FULL;
- ath79_switch_data.phy_poll_mask |= BIT(4);
+ ath79_switch_data.phy_poll_mask |= BIT(0);
ath79_switch_data.phy4_mii_en = 1;
ath79_register_eth(1);