cxgb4: Restore L1 cfg, if FW rejects new L1 cfg settings
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 21 Oct 2015 09:09:52 +0000 (14:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 14:03:50 +0000 (07:03 -0700)
commit4116542897be9cb5eaae7fdbfd5b2ddeaaaaeaef
tree770828af46515f9d728e9eb185271bd16f2d8da8
parent9bfdad5ef555d92639a8b2a9e75e1f51ea3235d6
cxgb4: Restore L1 cfg, if FW rejects new L1 cfg settings

In the ethtool set_settings() routine we need to remember our old L1
Configuration in case the firmware rejects the request and then restore
that.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c