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)
commitd52cf0a948267afc1d330ff1603a704a55c9f9fc
tree9800fef4c9a6fe318a41884a9eaa7f41823ec415
parent54692b403c7a1353f7b851efd69bdfe91966c1d9
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