aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-tx.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-09-02 15:07:18 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-02 15:07:18 -0400
commit49898852e6aa8a6de9a5bc0bab2cf305b3583bbf (patch)
tree1c37735128c1c3baad6abc11b11fc56a1da1232e /drivers/net/wireless/iwlwifi/iwl-tx.c
parentd9664741e0e2216770d6e52646474d3982b8eb55 (diff)
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: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index d82823b5c8ab..ff879d46624a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -426,7 +426,7 @@ static int iwl_tx_queue_init(struct iwl_priv *priv,
426 continue; 426 continue;
427 } 427 }
428 428
429 txq->cmd[i] = kmalloc(len, GFP_KERNEL | GFP_DMA); 429 txq->cmd[i] = kmalloc(len, GFP_KERNEL);
430 if (!txq->cmd[i]) 430 if (!txq->cmd[i])
431 return -ENOMEM; 431 return -ENOMEM;
432 } 432 }