ath9k: Handle holding descriptor in TX completion properly
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 16 Jan 2009 16:08:51 +0000 (21:38 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:41 +0000 (16:00 -0500)
commit6ef9b13db24757a9856f2feb1e571f34938567c9
tree3a5a787949754f72a1cb509b77bea86a29a160c0
parent059d806cdcad3848582519f0546cf8b3bfede7a3
ath9k: Handle holding descriptor in TX completion properly

If the current holding descriptor is the last one in the TX queue,
*and* it has been marked as STALE, then move it to the free list
and bail out, as it has already been processed.

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