projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-2.6-microblaze.git]
/
drivers
/
net
/
pcs
/
pcs-xpcs.c
diff --git
a/drivers/net/pcs/pcs-xpcs.c
b/drivers/net/pcs/pcs-xpcs.c
index
ab0af1d
..
70f88ea
100644
(file)
--- a/
drivers/net/pcs/pcs-xpcs.c
+++ b/
drivers/net/pcs/pcs-xpcs.c
@@
-986,7
+986,7
@@
static int xpcs_get_state_c37_sgmii(struct dw_xpcs *xpcs,
*/
ret = xpcs_read(xpcs, MDIO_MMD_VEND2, DW_VR_MII_AN_INTR_STS);
if (ret < 0)
- return
false
;
+ return
ret
;
if (ret & DW_VR_MII_C37_ANSGM_SP_LNKSTS) {
int speed_value;