mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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>
This commit is contained in:
parent
24cf3af3fe
commit
eb722d7a2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue