be2net: fix failure case in setting flow control
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 20 Jan 2015 08:51:44 +0000 (03:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 01:22:42 +0000 (17:22 -0800)
commit00d594c3da568647ccbae506da12d3186600b377
tree2186f03c0f927670c6c49282aafa2c1e7571463a
parent0700d8161ec9d3809238c703ad8d37c02e658c15
be2net: fix failure case in setting flow control

When the FW cmd to set flow control fails, the adapter state must simply
reflect the old values.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c