be2net: Fix error detection logic for BE3
authorSuresh Reddy <suresh.reddy@broadcom.com>
Mon, 28 May 2018 05:26:06 +0000 (01:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 14:57:25 +0000 (10:57 -0400)
commitd2c2725c2cdbcc108a191f50953d31c7b6556761
tree4769f48f80aff20f406966bf44528ec78225e951
parent2415f3bd059fe050eb98aedf93664d000ceb4e92
be2net: Fix error detection logic for BE3

Check for 0xE00 (RECOVERABLE_ERR) along with ARMFW UE (0x0)
in be_detect_error() to know whether the error is valid error or not

Fixes: 673c96e5a ("be2net: Fix UE detection logic for BE3")
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c