URB kill problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am encountering an issue with ath9k_htc.

(http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=tree;f=drivers/net/wireless/ath/ath9k;h=3b424cc4b338bac3bf8b09eee08fd24ed25b7abb;hb=HEAD).

The USB code is present in hif_usb.c

We use eight bulk URBs for RX, resubmitted in the completion callback.
But the use_count of the URBs keeps increasing when running traffic,
and eventually, when unloading the module, kill_urb() blocks, waiting
for 'use_count' to reach zero.

My understanding was that a re-submission of a URB would increment
use_count - which would be decremented immediately on returning from
the completion handler. Is this correct ?

Any pointers on how to handle this problem of increasing 'use_count'
would be greatly appreciated.

thanks,
Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux