projects
/
openwrt
/
staging
/
florian.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/staging/florian.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 9eedfd4d28c3906e1ccec86a0513c8c075648809..85a9617a5dad5922a59ebe16ace22b579028d7e6 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)