]> bbs.cooldavid.org Git - net-next-2.6.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)
commitf0e6ce13c17afd74a49e0ef043d72581562f73ae
tree51882c6e4718a898b7592d4cc7e4c13679ae2f3b
parentec329acef99ded8dad59e1ef8a5a02b823083353
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