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

Commit eb722d7a authored by Dmitry Kravkov's avatar Dmitry Kravkov Committed by David S. Miller
Browse files

bnx2x: fix inverted condition

parent 24cf3af3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2675,7 +2675,7 @@ alloc_mem_err:
	 * Min size diferent for TPA and non-TPA queues
	 */
	if (ring_size < (fp->disable_tpa ?
				MIN_RX_SIZE_TPA : MIN_RX_SIZE_NONTPA)) {
				MIN_RX_SIZE_NONTPA : MIN_RX_SIZE_TPA)) {
			/* release memory allocated for this queue */
			bnx2x_free_fp_mem_at(bp, index);
			return -ENOMEM;