]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix bug in paprd
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Thu, 24 Jun 2010 09:42:44 +0000 (02:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:42:39 +0000 (15:42 -0400)
commitbc5405406be3872acc2b422e68fab98d5df0cf3d
tree2a53c84c5d848e73a271005df56b754334e5d1a2
parentd50c19802da1a606728a3752d64d7e7759107d32
ath9k: Fix bug in paprd

It is possbile that the transmission of paprd test frame
might not get completed in 100ms if tx is stuck. Freeing
this skb upon timeout in ath_paprd_calibrate() will result
in accessing already freed memory when the associated pending
buffer is drained in txq. This patch fixes this issue.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c