Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db608c12 authored by Sritej Velaga's avatar Sritej Velaga Committed by David S. Miller
Browse files

netxen_nic: Fix phy link status



Pass the adapter phy link status to the caller.

Signed-off-by: default avatarSritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83f18a55
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -559,7 +559,11 @@ nx_fw_cmd_query_phy(struct netxen_adapter *adapter, u32 reg, u32 *val)
	if (rcode != NX_RCODE_SUCCESS)
		return -EIO;

	return cmd.rsp.arg1;
	if (val == NULL)
		return -EIO;

	*val = cmd.rsp.arg1;
	return 0;
}

int