mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
471e42ad14
When multiple wireless USB devices are connected and one of the devices disconnects, the host will distribute a new group key to the remaining devicese using wusbhc_gtk_rekey. wusbhc_gtk_rekey takes the wusbhc->mutex and holds it while it submits a URB to set the new key. This causes a deadlock in wa_urb_enqueue when it calls a device lookup helper function that takes the same lock. This patch changes wusbhc_gtk_rekey to submit a work item to set the GTK so that the URB is submitted without holding wusbhc->mutex. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
cbaf.c | ||
crypto.c | ||
dev-sysfs.c | ||
devconnect.c | ||
Kconfig | ||
Makefile | ||
mmc.c | ||
pal.c | ||
reservation.c | ||
rh.c | ||
security.c | ||
wa-hc.c | ||
wa-hc.h | ||
wa-nep.c | ||
wa-rpipe.c | ||
wa-xfer.c | ||
wusbhc.c | ||
wusbhc.h |