]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_hwrm.c
net/bnxt: get device infos
[dpdk.git] / drivers / net / bnxt / bnxt_hwrm.c
index 8aba8cdbab6dc10dc51f6e53d94786eb067cb1eb..3eabf0c5632755f768c6e1472ac75aa8f7a03374 100644 (file)
@@ -83,7 +83,7 @@ static int bnxt_hwrm_send_message_locked(struct bnxt *bp, void *msg,
                /* Sanity check on the resp->resp_len */
                rte_rmb();
                if (resp->resp_len && resp->resp_len <=
-                   bp->max_resp_len) {
+                               bp->max_resp_len) {
                        /* Last byte of resp contains the valid key */
                        valid = (uint8_t *)resp + resp->resp_len - 1;
                        if (*valid == HWRM_RESP_VALID_KEY)