ath9k_htc: Process command data properly
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 23 Apr 2010 04:58:17 +0000 (10:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:21:20 +0000 (14:21 -0400)
commit5ab0af3270b29c62b8960a60092917ec8be48c4a
tree76019c9929b57625d1a58d4f0e494e218c77c498
parent62e4716aff31a8ab687016680443012034734c92
ath9k_htc: Process command data properly

When handling the REGIN callback, processing
the incoming data first should be the preferred
mode of operation. Allocation of a new SKB may fail,
in which case, the URB will not be resubmitted.

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