summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hif_usb.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-01-30 12:47:18 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-01-31 00:48:42 +0400
commit0ed7b93e307fd02188a33b80897069d3acc76485 (patch)
tree889bd982d2cd0b00f24723c70ebedd5754e3ef69 /drivers/net/wireless/ath/ath9k/hif_usb.h
parented072f9e80f02e5ae4150ad5a605fc3906e9fbc7 (diff)
downloadlinux-0ed7b93e307fd02188a33b80897069d3acc76485.tar.xz
ath9k_htc: Load firmware asynchronously
This patch modifies ath9k_htc to load the needed firmware in an asynchronous manner, fixing timeouts that were introduced with the new udev changes. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hif_usb.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hif_usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h
index 794f63094e5d..487ff658b4c1 100644
--- a/drivers/net/wireless/ath/ath9k/hif_usb.h
+++ b/drivers/net/wireless/ath/ath9k/hif_usb.h
@@ -87,10 +87,11 @@ struct cmd_buf {
#define HIF_USB_START BIT(0)
struct hif_device_usb {
- u16 device_id;
struct usb_device *udev;
struct usb_interface *interface;
+ const struct usb_device_id *usb_device_id;
const struct firmware *firmware;
+ struct completion fw_done;
struct htc_target *htc_handle;
struct hif_usb_tx tx;
struct usb_anchor regout_submitted;