net/bnxt: fix logical AND in if condition
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 24 Jul 2020 00:04:37 +0000 (17:04 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commitc557378fec049eea16e444b341c9de6d7c040ebc
treed29301c90cd7fe049c924bf6ee35255b0f8fd9f5
parent82c4fb852e4287a7e6ff529d333648e52f40d451
net/bnxt: fix logical AND in if condition

The if condition in bnxt_restore_mac_filters needs to check for
the result of logical AND. But it was not doing it resulting in
an incorrect check.

Fixes: b02f1573cd07 ("net/bnxt: restore MAC filters during reset recovery")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c