]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
Ath5k: lock beacons
authorJiri Slaby <jirislaby@gmail.com>
Mon, 18 Aug 2008 19:45:27 +0000 (21:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Aug 2008 00:06:31 +0000 (20:06 -0400)
commit004829730cb1b03abe7555e1c1faadec62cbcf6f
tree414985c79061809ddfdd72ba138a5402b3cbe978
parentd0c2912fe8df81a8b723fb6ec4d4cdf523cbaff7
Ath5k: lock beacons

Beacons setup and config was racy with beacon send. Ensure that
ISR and reset functions see consistent state of bbuf.

Use also dev_kfree_skb_any in ath5k_txbuf_free since we call it
from atomic now.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c
drivers/net/wireless/ath5k/base.h