net/bnxt: fix overwriting error message
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 21 Dec 2019 02:42:18 +0000 (18:42 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit88d57889c9f8034e5075a299e4300a862da6449a
tree1363944472af28854b9b86559881e8289b554ded
parent94eb699bc82e275698bae8659da467adadcacba4
net/bnxt: fix overwriting error message

In some cases when flow creation fails, we overwrite the specific
error message with a generic error message. This patch fixes it.

Fixes: d24610f7bfda ("net/bnxt: allow flow creation when RSS is enabled")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_flow.c