Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36e552ab authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller
Browse files

bnx2x: Returning EBUSY in debug mode as well

parent 8d5726c4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7059,9 +7059,8 @@ static int bnx2x_stop_leading(struct bnx2x *bp)
			   *bp->dsb_sp_prod, dsb_sp_prod_idx);
#ifdef BNX2X_STOP_ON_ERROR
			bnx2x_panic();
#else
			rc = -EBUSY;
#endif
			rc = -EBUSY;
			break;
		}
		cnt--;