mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
Issue: If WOL is enabled after running "./ethtool -s eth0 wol g" command there will not be any eapol frames transaction, hence macsec will be disabled. As macsec is disabled before suspend we are not enabling it back once resumed. Because of this eapol frames are also sent with sec-tag as byp_lut is not programmed. Fix: Instead of depending on the macsec state, check if there is any supplicant running, if there is any supplicant then enable the macsec post resume. Bug 3577131 Change-Id: I6018b94411034eebba34f5f0a9520907305c573e Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2694446 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> GVS: Gerrit_Virtual_Submit