bnxt_en: fix flags to check for supported fw version
authorVadim Fedorenko <vfedorenko@novek.ru>
Thu, 15 Sep 2022 23:49:32 +0000 (02:49 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 01:22:06 +0000 (18:22 -0700)
commitae8ffba8baad651af706538e8c47d0a049d406c6
tree20a99e48bec72582be6960a21758eee3e46f11af
parent094cc3b649e27b43afb9bc44d3417668c3d53e19
bnxt_en: fix flags to check for supported fw version

The warning message of unsupported FW appears every time RX timestamps
are disabled on the interface. The patch fixes the flags to correct set
for the check.

Fixes: 66ed81dcedc6 ("bnxt_en: Enable packet timestamping for all RX packets")
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20220915234932.25497-1-vfedorenko@novek.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c