コード例 #1
0
ファイル: wlan.c プロジェクト: ianjuch/ee149
//*****************************************************************************
//
//!  wlan_smart_config_stop
//!
//!  @param    algoEncryptedFlag indicates whether the information is encrypted
//!
//!  @return   On success, zero is returned. On error, -1 is returned
//!
//!  @brief   Stop the acquire profile procedure
//!
//!  @sa      wlan_smart_config_start , wlan_smart_config_set_prefix
//
//*****************************************************************************
long wlan_smart_config_stop(void)
{
    long ret;

    OS_mutex_lock(g_main_mutex, &mtx_key);
    ret = c_wlan_smart_config_stop();
    OS_mutex_unlock(g_main_mutex, mtx_key);

    return(ret);
}
コード例 #2
0
ファイル: wlan.c プロジェクト: mileat/proj-emb
/**
 * \brief stop acquire profile
 *
 * Stop the acquire profile procedure
 *
 * \return  On success, zero is returned. On error, -1 is
 *            returned
 *
 * \sa   wlan_smart_config_start  wlan_smart_config_set_prefix
 * \note
 * \warning
 */
long wlan_smart_config_stop(void)
{
    long ret;
    ret = c_wlan_smart_config_stop();
    return(ret);
}