aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-04-13 11:49:16 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-04-13 11:49:16 +0800
commit77b99ea3c658b2bc60f80e13b3ed32afc4c31ad7 (patch)
treeb4826cf2be5da6ff0c63b40bd81185ffb19728ea /target
parent4d06229242f27baa5566cc788f6987b470505d53 (diff)
downloadupstream-77b99ea3c658b2bc60f80e13b3ed32afc4c31ad7.tar.gz
upstream-77b99ea3c658b2bc60f80e13b3ed32afc4c31ad7.tar.bz2
upstream-77b99ea3c658b2bc60f80e13b3ed32afc4c31ad7.zip
ramips: fix whitespace in 990_NET-no-auto-carrier-support.patch
Fixes: 6fcba5eec3 ("ramips: port 0034-NET-multi-phy-support.patch to 5.4") Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch b/target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch
index c15be64377..a31d1ac3a6 100644
--- a/target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch
+++ b/target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch
@@ -16,10 +16,10 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
} else if (!phydev->link && phydev->state != PHY_NOLINK) {
phydev->state = PHY_NOLINK;
- phy_link_down(phydev, true);
-+ if (!phydev->no_auto_carrier_off)
-+ phy_link_down(phydev, true);
-+ else
-+ phy_link_down(phydev, false);
++ if (!phydev->no_auto_carrier_off)
++ phy_link_down(phydev, true);
++ else
++ phy_link_down(phydev, false);
}
return 0;