net/i40e/base: fix link LED blink
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 9 Jan 2018 20:30:13 +0000 (15:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite35eed328516f90c51bd41b9ac6623a3e5951549
tree4e604057bcb2ce796389c3c301256b46afbb0550
parent2a2320cec3f9d5c619495678bf17d94629891bf8
net/i40e/base: fix link LED blink

This fix solves an issue occurring while calling i40e_led_set function
from the driver with "blink" parameter set as TRUE. This call resulted
in Activity LED blinking instead of Link LED, which may lead to errors
in physically identyfying the port, since Activity LED may be blinking
for different reasons aswell.

Fixes: 51b27bc5d898 ("i40e/base: update LED blinking")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_common.c