/* This function enables transmission and prepares the &zd_usb_tx data structure.  */
void zd_usb_enable_tx(struct zd_usb *usb)
/* This function enables transmission and prepares the &zd_usb_tx data structure.  */
void zd_usb_enable_tx(struct zd_usb *usb)
{
	unsigned long flags;
	struct zd_usb_tx *tx = &usb->tx;
	spin_lock_irqsave(&tx->lock, flags);
	tx->enabled = 1;
	tx->submitted_urbs = 0;
	ieee80211_wake_queues(zd_usb_to_hw(usb));
	tx->stopped = 0;
	spin_unlock_irqrestore(&tx->lock, flags);
}