ath9k: RX buffers may be accessed/freed even before initialized/alloced.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Fri, 6 Mar 2009 05:54:09 +0000 (11:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:30 +0000 (18:09 -0400)
commitb03a9db95a285e13a5e4f2913e9d22a84bf50cc6
tree7edbff7db9255054bf9568c1dda72dbe40270694
parentf0e6ce13c17afd74a49e0ef043d72581562f73ae
ath9k: RX buffers may be accessed/freed even before initialized/alloced.

accessing RXBUF list in ath_rx_cleanup may cause panic if
ath_descdma_setup fails even before RXBUF list is initialized.

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