]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath9k_htc: Fix bug in aggregation initiation
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 29 Mar 2010 10:37:11 +0000 (16:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:39 +0000 (14:46 -0400)
commitef98c3cd9b68ed27eeb94b833f74860fa1a734b7
tree635dd6c83de38e8f3cc9c469ab1a4eb6f46d032a
parent0995d110118b35c0dc5195e3ddddcc0dec263830
ath9k_htc: Fix bug in aggregation initiation

Accessing the sta pointer in TX completion without
approprate RCU protection is wrong. Fix this.

Also, RCU protection is needed when the station's
aggregation state is updated. Handle this properly.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c