/* Once all connected and authenticated devices have received the new GTK, switch the host to using it.  */
static void wusbhc_gtk_rekey_done_work(struct work_struct *work)
/* Once all connected and authenticated devices have received the new GTK, switch the host to using it.  */
static void wusbhc_gtk_rekey_done_work(struct work_struct *work)
{
	struct wusbhc *wusbhc = container_of(work, struct wusbhc, gtk_rekey_done_work);
	size_t key_size = sizeof(wusbhc->gtk.data);
	mutex_lock(&wusbhc->mutex);
	if (--wusbhc->pending_set_gtks == 0)
		wusbhc->set_gtk(wusbhc, wusbhc->gtk_tkid, &wusbhc->gtk.descr.bKeyData, key_size);
	mutex_unlock(&wusbhc->mutex);
}