]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
authorMichael Chan <michael.chan@broadcom.com>
Thu, 4 Jan 2024 00:59:24 +0000 (16:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:26 +0000 (17:10 +0100)
commit14937f47a48f4c4ec2d344f878e03b96324894ad
tree3f959370c82fbb076f3f2db26348bb39b87cf24f
parent55fbcd83aacac2cdaeec1bf8844a5721f6daa303
bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()

[ Upstream commit e009b2efb7a8850498796b360043ac25c8d3d28f ]

The 2 lines to check for the BNXT_HWRM_PF_UNLOAD_SP_EVENT bit was
mis-applied to bnxt_cfg_ntp_filters() and should have been applied to
bnxt_sp_task().

Fixes: 19241368443f ("bnxt_en: Send PF driver unload notification to all VFs.")
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c