From: Luis R. Rodriguez Date: Wed, 3 Dec 2008 11:35:30 +0000 (-0800) Subject: ath9k: Use GFP_ATOMIC when allocating TX private area X-Git-Tag: v2.6.29-rc1~581^2~305^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c112d0c5b89037dd618083b5fdf4bb36b0c51d77;p=pandora-kernel.git ath9k: Use GFP_ATOMIC when allocating TX private area Using GFP_KERNEL was wrong and produces a 'scheduling while atomic' bug as we're in a tasklet. Also, check for proper return values now, in case allocation fails and be sure to stop the TX queue in case of memory issues but gaurantee the TX queue will eventually be woken up. Signed-off-by: Senthil Balasubramanian Signed-off-by: Sujith Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed