i40e: clear test state bit after all ethtool tests
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 20 Nov 2013 10:02:58 +0000 (10:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Dec 2013 01:20:39 +0000 (17:20 -0800)
commitc140c17b98f246d736e20757e39ec597fae7bc9e
tree0500276c476e66ebccbb49cb9b413a603cc26cc2
parentac6c5e3d0e9e784ef8b015085c83dee0253324b0
i40e: clear test state bit after all ethtool tests

Fix a bug where the TESTING state was still set when
exiting the ethtool diagnostics.

Change-Id: Ic47950d2e86a67167d1d282256d477cecd86d820
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_ethtool.c