diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-01-30 08:47:18 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-30 20:48:42 (GMT) |
commit | 0ed7b93e307fd02188a33b80897069d3acc76485 (patch) | |
tree | 889bd982d2cd0b00f24723c70ebedd5754e3ef69 /drivers/net/wireless/ath/ath9k/hif_usb.h | |
parent | ed072f9e80f02e5ae4150ad5a605fc3906e9fbc7 (diff) | |
download | linux-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.h | 3 |
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 794f630..487ff65 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; |