software/drivers/sd8887/src/bluetooth/bt/bt_main.c
/**
 *  @brief This function used to restore tx_queue
 *
 *  @param priv    A pointer to bt_private structure
 *  @return        N/A
 */
@brief This function used to restore tx_queue
@param priv    A pointer to bt_private structure
@return        N/A
@brief This function used to restore tx_queue @param priv A pointer to bt_private structure @return N / A
void
bt_restore_tx_queue(bt_private *priv)
{
	struct sk_buff *skb = NULL;
	while (!skb_queue_empty(&priv->adapter->pending_queue)) {
		skb = skb_dequeue(&priv->adapter->pending_queue);
		if (skb)
			bt_queue_frame(priv, skb);
	}
	wake_up_interruptible(&priv->MainThread.waitQ);
}
void bt_restore_tx_queue ( bt_private * priv ) { struct sk_buff * skb = NULL ; while ( ! skb_queue_empty ( & priv -> adapter -> pending_queue ) ) { skb = skb_dequeue ( & priv -> adapter -> pending_queue ) ; if ( skb ) bt_queue_frame ( priv , skb ) ; } wake_up_interruptible ( & priv -> MainThread . waitQ ) ; }
@brief This function used to restore tx_queue
  @param priv    A pointer to bt_private structure
  @return        N/A
@brief This function used to restore tx_queue @param priv A pointer to bt_private structure @return N / A