]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
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)
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>

No differences found