aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 0809f6cfbd1a..29e293f97dba 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -10983,7 +10983,7 @@ static int bnx2x_set_flags(struct net_device *dev, u32 data)
10983 int rc = 0; 10983 int rc = 0;
10984 10984
10985 if (data & ~(ETH_FLAG_LRO | ETH_FLAG_RXHASH)) 10985 if (data & ~(ETH_FLAG_LRO | ETH_FLAG_RXHASH))
10986 return -EOPNOTSUPP; 10986 return -EINVAL;
10987 10987
10988 if (bp->recovery_state != BNX2X_RECOVERY_DONE) { 10988 if (bp->recovery_state != BNX2X_RECOVERY_DONE) {
10989 printk(KERN_ERR "Handling parity error recovery. Try again later\n"); 10989 printk(KERN_ERR "Handling parity error recovery. Try again later\n");