software/drivers/sd8887/src/bluetooth/bt/bt_main.c
/**
 *  @brief This function flushes the transmit queue
 *
 *  @param m_dev     A pointer to m_dev structure
 *
 *  @return    BT_STATUS_SUCCESS
 */
@brief This function flushes the transmit queue
@param m_dev     A pointer to m_dev structure


@brief This function flushes the transmit queue @param m_dev A pointer to m_dev structure
static int
mdev_flush(struct m_dev *m_dev)
{
	bt_private *priv = (bt_private *)m_dev->driver_data;
	ENTER();
	skb_queue_purge(&priv->adapter->tx_queue);
	skb_queue_purge(&priv->adapter->pending_queue);
	LEAVE();
	return BT_STATUS_SUCCESS;
}
static int mdev_flush ( struct m_dev * m_dev ) { bt_private * priv = ( bt_private * ) m_dev -> driver_data ; ENTER ( ) ; skb_queue_purge ( & priv -> adapter -> tx_queue ) ; skb_queue_purge ( & priv -> adapter -> pending_queue ) ; LEAVE ( ) ; return BT_STATUS_SUCCESS ; }
@brief This function flushes the transmit queue
  @param m_dev     A pointer to m_dev structure
@brief This function flushes the transmit queue @param m_dev A pointer to m_dev structure