software/drivers/sd8887/src/bluetooth/bt/bt_main.c
/**
 *  @brief This function opens the wrapper device
 *
 *  @param m_dev   A pointer to m_dev structure
 *
 *  @return    BT_STATUS_SUCCESS  or other
 */
@brief This function opens the wrapper device
@param m_dev   A pointer to m_dev structure

@return    BT_STATUS_SUCCESS  or other
@brief This function opens the wrapper device @param m_dev A pointer to m_dev structure @return BT_STATUS_SUCCESS or other
static int
mdev_open(struct m_dev *m_dev)
{
	ENTER();
	if (try_module_get(THIS_MODULE) == 0)
		return BT_STATUS_FAILURE;
	set_bit(HCI_RUNNING, &m_dev->flags);
	LEAVE();
	return BT_STATUS_SUCCESS;
}
static int mdev_open ( struct m_dev * m_dev ) { ENTER ( ) ; if ( try_module_get ( THIS_MODULE ) == 0 ) return BT_STATUS_FAILURE ; set_bit ( HCI_RUNNING , & m_dev -> flags ) ; LEAVE ( ) ; return BT_STATUS_SUCCESS ; }
@brief This function opens the wrapper device
  @param m_dev   A pointer to m_dev structure
@brief This function opens the wrapper device @param m_dev A pointer to m_dev structure