From: Pavaluca Matei-B46610 Date: Mon, 27 Oct 2014 08:42:43 +0000 (+0200) Subject: Fix the way the local advertising flow options are determined X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~329 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43ef8d29eebb6f533f11439d48a927426c5a1918;p=pandora-kernel.git 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: Pavaluca Matei Signed-off-by: David S. Miller --- Reading git-diff-tree failed