]> git.baikalelectronics.ru Git - kernel.git/commit
alx: treat flow control correctly in alx_set_pauseparam()
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 29 Jun 2013 17:23:13 +0000 (19:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 20:18:19 +0000 (13:18 -0700)
commit1f62e76c7937f88a21baefd6b37a39b6cafeb77b
tree10febd3b6de7b689b038be5e72b36599711d0a64
parentd9e32dd8d4fbe6fc662824f270206d588b060f9c
alx: treat flow control correctly in alx_set_pauseparam()

Even when alx_setup_speed_duplex() is called, we still
need to call alx_cfg_mac_flowcontrol() and set hw->flowctrl
if flow control changed.

This was a bug I accidentally introduced while simplifying
the original driver.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/ethtool.c