]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/wireless/ath/ath9k/hif_usb.c
ath9k_htc: Fix RX URB reference count
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 6 Apr 2010 09:58:13 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:09 +0000 (15:24 -0400)
commit66b10e33f742bb45a29b7dbbc8dc85583d4c9ef6
tree574c4e70c5bcfe89e7178b65356c4c0a7bb58d34
parent46baa1a24945b5813097af5a632db721f9c9d03b
ath9k_htc: Fix RX URB reference count

RX URBs are automatically freed when the reference
count drops to zero - this currently doesn't happen when
usb_kill_anchored_urbs() is called during unload.

Fix this by dropping the reference count by one during
initial submission.

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