aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/benet/be_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index 408e1f2dd8e8..45b6f9050342 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -76,7 +76,8 @@ static int be_mcc_compl_process(struct be_adapter *adapter,
76 sizeof(resp->hw_stats)); 76 sizeof(resp->hw_stats));
77 netdev_stats_update(adapter); 77 netdev_stats_update(adapter);
78 } 78 }
79 } else if (compl_status != MCC_STATUS_NOT_SUPPORTED) { 79 } else if ((compl_status != MCC_STATUS_NOT_SUPPORTED) &&
80 (compl->tag0 != OPCODE_COMMON_NTWK_MAC_QUERY)) {
80 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) & 81 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
81 CQE_STATUS_EXTD_MASK; 82 CQE_STATUS_EXTD_MASK;
82 dev_warn(&adapter->pdev->dev, 83 dev_warn(&adapter->pdev->dev,