ath9k_htc: Simplify RX URB management
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 29 Mar 2010 10:37:15 +0000 (16:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:39 +0000 (14:46 -0400)
commit6335ed0ff8670e6378da41191ab8bda33d1b7ac8
tree345a5ba1c2bb8c602343d196f577b2d714d4f711
parentd5a4c5e3afb9697c8f627b2563f4b8583ef88498
ath9k_htc: Simplify RX URB management

This patch introduces the usage of URB anchors,
thus reducing a large amount of code dealing with
URB maintenance within the driver. The RX callback now
takes care of freeing the SKB associated with each URB.

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