]> asedeno.scripts.mit.edu Git - linux.git/commit
i40e: Bit test mask correction
authorFilip Sadowski <filip.sadowski@intel.com>
Wed, 14 Sep 2016 23:24:33 +0000 (16:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 29 Oct 2016 06:28:39 +0000 (23:28 -0700)
commit7ed3573223dd6bf36b1bd35c8e5e3d0cd4f6f690
tree6e3c00061eccac832fb32aaf9a7a4974bac2c616
parented245406da1409437f9d2c4e7c69112fb255964c
i40e: Bit test mask correction

Incorrect bit mask was used for testing "get link status" response.
Instead of I40E_AQ_LSE_ENABLE (which is actually 0x03) it most probably
should be I40E_AQ_LSE_IS_ENABLED (which is defined as 0x01).

Change-ID: Ia199142906720507f847de3a33a25c61a9781b2f
Signed-off-by: Filip Sadowski <filip.sadowski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c