Skip to content
Commit 1c755ffa authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

netxen: reversed condition in netxen_nic_set_link_parameters()



My static checker complains that we are using "autoneg" without
initializing it.  The problem is the ->phy_read() condition is reversed
so we only set this on error instead of success.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 545fea54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment