diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-05-24 02:06:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-24 13:26:12 -0400 |
commit | eb722d7a2e11b0426a17acaa7336120acbc49406 (patch) | |
tree | e10fcae18c7857f9f09f1cb110d788a23c92ffd6 /drivers | |
parent | 24cf3af3fed5edcf90bc2a0ed181e6ce1513d2dc (diff) | |
download | lwn-eb722d7a2e11b0426a17acaa7336120acbc49406.tar.gz lwn-eb722d7a2e11b0426a17acaa7336120acbc49406.zip |
bnx2x: fix inverted condition
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index d5bd35b7f2e1..289044332ed8 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c @@ -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; |