net/bnxt: fix boolean operator usage
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 22 Oct 2020 18:45:10 +0000 (14:45 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:02 +0000 (23:35 +0100)
commit47b70761670dc8b5bb8399df280476d9767b11df
tree46c0594ef358ce495b2a77a7c253dc278c0bfffd
parent8b20510a042aee6681c33c20bb076b53cb354708
net/bnxt: fix boolean operator usage

Use boolean AND operator instead of bitwise operator.

Coverity issue: 323488
Fixes: b42c15c83e88 ("net/bnxt: support trusted VF")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c