]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: broken link status on old fw
authorIgor Russkikh <irusskikh@marvell.com>
Mon, 6 Jan 2020 11:22:28 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 22:06:11 +0000 (14:06 -0800)
commita07f3dffc6738e1e94b810196e88a6b0a4ab9bbb
tree4a78f8b48c19b60899ca869117f0c8cb1faa2f81
parentdf6d2fd5a2aec5da69ecc51681316f90419c48e9
net: atlantic: broken link status on old fw

Last code/checkpatch cleanup did a copy paste error where code from
firmware 3 API logic was moved to firmware 1 logic.

This resulted in FW1.x users would never see the link state as active.

Fixes: 86b0fca30d9d ("net: atlantic: code style cleanup")
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c