Skip to content
Commit 43ef8d29 authored by Pavaluca Matei-B46610's avatar Pavaluca Matei-B46610 Committed by David S. Miller
Browse files

Fix the way the local advertising flow options are determined



Local flow control options needed in order to resolve the negotiation
are incorrectly calculated.

Previously 'mii_advertise_flowctrl' was called to determine the local advertising
options, but these were determined based on FLOW_CTRL_RX/TX flags which are
never set through ethtool.
The patch simply translates from ethtool flow options to mii flow options.

Signed-off-by: default avatarPavaluca Matei <matei.pavaluca@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cf987afc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment