]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7478f30d47a0dd8870cb6a94d7799c0b28d0b339
tree50b67d4d42bd29943e636e494fe3ec05a5b06265
parent36950c06e120985b013778aa7bdcff0a38919f41
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