]> git.baikalelectronics.ru Git - kernel.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)
commit940deaa08d5db6c2900994250196fd14d54bbb26
tree6e3c00061eccac832fb32aaf9a7a4974bac2c616
parent3be81849c5765e93677092451edbf287ee41d19b
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