aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch')
-rw-r--r--target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch b/target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch
index d20fc04cb0..bc9515217a 100644
--- a/target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch
+++ b/target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch
@@ -19,7 +19,7 @@
{
int status;
-+ if (phydev->drv->update_link)
++ if (phydev->drv && phydev->drv->update_link)
+ return phydev->drv->update_link(phydev);
+
/* Do a fake read */