Commit 11d751bf authored by Ganesh Venkatesan's avatar Ganesh Venkatesan Committed by Jeff Garzik

[PATCH] e1000: modified ethtool_set_pauseparam to use e1000_setup_link

for flow control settings for fiber serdes link
parent 079adf9a
...@@ -249,7 +249,8 @@ e1000_set_pauseparam(struct net_device *netdev, ...@@ -249,7 +249,8 @@ e1000_set_pauseparam(struct net_device *netdev,
e1000_reset(adapter); e1000_reset(adapter);
} }
else else
return e1000_force_mac_fc(hw); return ((hw->media_type == e1000_media_type_fiber) ?
e1000_setup_link(hw) : e1000_force_mac_fc(hw));
return 0; return 0;
} }
......
Markdown is supported
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