ath9k_htc: Move endpoint header parsing to TX tasklet
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Wed, 13 Apr 2011 05:55:41 +0000 (10:55 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Apr 2011 19:23:51 +0000 (15:23 -0400)
commit729bd3ab460d3bb8236cc8f6fd0289201124112d
treeab8c0b745939b3a524e10f66308692820c8b3b43
parentd67ee5339363608adce786ec8fd62a0fb2b66116
ath9k_htc: Move endpoint header parsing to TX tasklet

There is no need to do endpoint header removal in the ISR.
Also, this is needed when TX slot management is added later on.
Use a helper function to strip the driver header.

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