net/ixgbe: fix uninitialized variable
authorYong Wang <wang.yong19@zte.com.cn>
Tue, 19 Sep 2017 03:17:24 +0000 (23:17 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:52:50 +0000 (01:52 +0100)
commit457ea93fda4ee8e0ea08a862e89a1fbdf0121d9c
tree9d29cdc532f56c441c4ab13f9dc2235f4cedb1be
parent72e3efb149ccb72626e77f8926d4dc812fad4e4f
net/ixgbe: fix uninitialized variable

In func ixgbe_dev_link_update(), "link.link_autoneg" is used in func
call rte_ixgbe_dev_atomic_write_link_status(), but is uninitialized.

Fixes: 82113036e4e5 ("ethdev: redesign link speed config")
Cc: stable@dpdk.org
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c