mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 08:37:50 -04:00
Fix return value of function.
Submitted by: Dan McGregor <dan dot mcgregor at usask dot ca>
This commit is contained in:
parent
0f13c0f4a8
commit
e050eaa32a
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ aq100x_power_down(struct cphy *phy, int off)
|
|||
err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, BMCR_PDOWN,
|
||||
off ? BMCR_PDOWN : 0);
|
||||
if (err || off)
|
||||
return (v);
|
||||
return (err);
|
||||
|
||||
msleep(300);
|
||||
do {
|
||||
|
|
|
|||
Loading…
Reference in a new issue