projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ip17xx: correct aneg_done return value
[openwrt/openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
ip17xx.c
diff --git
a/target/linux/generic/files/drivers/net/phy/ip17xx.c
b/target/linux/generic/files/drivers/net/phy/ip17xx.c
index a4fe53dc5bdd1177121a2980a6245ea9ae080174..dbb867e30ea85c3de19f2b5bf9f85d80c20b8dda 100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/ip17xx.c
+++ b/
target/linux/generic/files/drivers/net/phy/ip17xx.c
@@
-1334,7
+1334,7
@@
static int ip17xx_config_aneg(struct phy_device *pdev)
static int ip17xx_aneg_done(struct phy_device *pdev)
{
- return
BMSR_ANEGCOMPLETE;
+ return
1; /* Return any positive value */
}
static int ip17xx_update_link(struct phy_device *pdev)