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

Commit 49898852 authored by John W. Linville's avatar John W. Linville
Browse files

iwlwifi: do not use GFP_DMA in iwl_tx_queue_init

GFP_DMA is not necessary for the iwlwifi hardware and it can cause
allocation failures and/or invoke the OOM killer on lots of systems.

For reference:

	https://bugzilla.redhat.com/show_bug.cgi?id=459709



Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d9664741
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ static int iwl_tx_queue_init(struct iwl_priv *priv,
				continue;
		}

		txq->cmd[i] = kmalloc(len, GFP_KERNEL | GFP_DMA);
		txq->cmd[i] = kmalloc(len, GFP_KERNEL);
		if (!txq->cmd[i])
			return -ENOMEM;
	}