]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: select reset counters correctly
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 16 Nov 2013 10:00:39 +0000 (10:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Dec 2013 07:12:59 +0000 (23:12 -0800)
commitbcc02e2fe208fbbcbdbf7ef9d83a3fea809cdca1
tree9800fef4c9a6fe318a41884a9eaa7f41823ec415
parenta1cd7ccb999903afbc7a7231eb63c4b28006541e
i40e: select reset counters correctly

The indication for telling which reset happened is a value, not a
bit pattern, so select by ==, not &.

Change-Id: Ie04097388ff16b85015d6ab1236d7511ef653e8c
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c