]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: fix incorrect status check
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 18 May 2017 23:45:06 +0000 (16:45 -0700)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 16 Jun 2017 06:01:25 +0000 (23:01 -0700)
commit3ba00a5ea1d17efbeb2b7222b0adf05872182414
treedffdf72a366fccc0638309530920939c73b141cd
parentf83e11db86024b0c99b2d6f50195065c0cdcb31e
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>
Orabug: 26242766
(cherry picked from commit d9c23ff80b9fdc1f2e8efeb5368adfd93493d7b4)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c