]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Get rid of unnecessary ATOMIC memory alloc during init time
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Fri, 6 Mar 2009 05:54:08 +0000 (11:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:30 +0000 (18:09 -0400)
commitbaab8c418930e3d0a9bb45db37b8fa12e3e4e1d1
tree51882c6e4718a898b7592d4cc7e4c13679ae2f3b
parent3f8144872096dbdeba32d8f1ad5725f12803eb7b
ath9k: Get rid of unnecessary ATOMIC memory alloc during init time

We can sleep for memory during init time and so allocating rx buffers,
descriptro buffers with GFP_KERNEL should help us to get rid of transient
alloc fails.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/recv.c