ixgbe: fix incorrect status check
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 18 May 2017 23:45:06 +0000 (16:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 11:54:12 +0000 (04:54 -0700)
commitd9c23ff80b9fdc1f2e8efeb5368adfd93493d7b4
tree440bfe98a4313124e90140c7e6d7446d2acbf78b
parent3ce5cb75f39378e3b77628352735632ccc98b489
ixgbe: fix incorrect status check

Check for ret_val instead of !ret_val to allow the rest of
the code to execute and configure the speed properly.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c