ixgbe: Only clear adapter_stopped if ixgbe_setup_fc succeeded
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:27:46 +0000 (16:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Sep 2015 06:02:26 +0000 (23:02 -0700)
commit3507a9b8c9d1684b5095c97f587ee46184e590da
tree50b67d4d42bd29943e636e494fe3ec05a5b06265
parent9de7605ea2389d5ab86d6fbb3f1a11b87665a35c
ixgbe: Only clear adapter_stopped if ixgbe_setup_fc succeeded

A logic error here results in the adapter_stopped flag only being
cleared when ixgbe_setup_fc returns an error. Correct the logic.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c