diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-06 09:58:17 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-08 19:24:10 (GMT) |
commit | 6f0f2669f508fb239a0f589a8b453dbe22112bf9 (patch) | |
tree | 3b857e1bfe5a74bd7f7a77d10ea794d2140f6b52 /drivers/net/wireless/ath/ath9k/hif_usb.h | |
parent | c503269a0f77e9b2d6de9e8a5f66ace53dde6e04 (diff) | |
download | linux-6f0f2669f508fb239a0f589a8b453dbe22112bf9.tar.xz |
ath9k_htc: Use anchors for REGOUT pipe
hif_usb_regout_cb() frees the given URB, which is
borked by design. Use an anchor to simplify URB
management.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.h b/drivers/net/wireless/ath/ath9k/hif_usb.h index 179cea4..7d49a8a 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.h +++ b/drivers/net/wireless/ath/ath9k/hif_usb.h @@ -88,6 +88,7 @@ struct hif_device_usb { struct htc_target *htc_handle; struct hif_usb_tx tx; struct urb *reg_in_urb; + struct usb_anchor regout_submitted; struct usb_anchor rx_submitted; struct sk_buff *remain_skb; int rx_remain_len; |