mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 00:24:20 +00:00
rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
17d1637977
commit
06334102cd
68 changed files with 2553 additions and 2572 deletions
112
core/rtw_cmd.c
112
core/rtw_cmd.c
|
@ -124,7 +124,7 @@ exit:
|
|||
|
||||
#ifdef CONFIG_C2H_WK
|
||||
_init_workitem(&pevtpriv->c2h_wk, c2h_wk_callback, NULL);
|
||||
pevtpriv->c2h_wk_alive = _FALSE;
|
||||
pevtpriv->c2h_wk_alive = false;
|
||||
pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN+1);
|
||||
#endif
|
||||
|
||||
|
@ -284,7 +284,7 @@ _func_exit_;
|
|||
int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj);
|
||||
int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
||||
{
|
||||
u8 bAllow = _FALSE; //set to _TRUE to allow enqueuing cmd when hw_init_completed is _FALSE
|
||||
u8 bAllow = false; //set to true to allow enqueuing cmd when hw_init_completed is false
|
||||
|
||||
#ifdef SUPPORT_HW_RFOFF_DETECTED
|
||||
//To decide allow or not
|
||||
|
@ -298,17 +298,17 @@ int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
|||
if(pdrvextra_cmd_parm->ec_id == POWER_SAVING_CTRL_WK_CID)
|
||||
{
|
||||
//DBG_871X("==>enqueue POWER_SAVING_CTRL_WK_CID\n");
|
||||
bAllow = _TRUE;
|
||||
bAllow = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if(cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan))
|
||||
bAllow = _TRUE;
|
||||
bAllow = true;
|
||||
|
||||
if( (pcmdpriv->padapter->hw_init_completed ==_FALSE && bAllow == _FALSE)
|
||||
|| pcmdpriv->cmdthd_running== _FALSE //com_thread not running
|
||||
if( (pcmdpriv->padapter->hw_init_completed ==false && bAllow == false)
|
||||
|| pcmdpriv->cmdthd_running== false //com_thread not running
|
||||
)
|
||||
{
|
||||
//DBG_871X("%s:%s: drop cmdcode:%u, hw_init_completed:%u, cmdthd_running:%u\n", caller_func, __FUNCTION__,
|
||||
|
@ -408,7 +408,7 @@ _func_exit_;
|
|||
|
||||
void rtw_stop_cmd_thread(struct adapter *adapter)
|
||||
{
|
||||
if(adapter->cmdThread && adapter->cmdpriv.cmdthd_running == _TRUE
|
||||
if(adapter->cmdThread && adapter->cmdpriv.cmdthd_running == true
|
||||
&& adapter->cmdpriv.stop_req == 0)
|
||||
{
|
||||
adapter->cmdpriv.stop_req = 1;
|
||||
|
@ -435,7 +435,7 @@ _func_enter_;
|
|||
prspbuf = pcmdpriv->rsp_buf;
|
||||
|
||||
pcmdpriv->stop_req = 0;
|
||||
pcmdpriv->cmdthd_running=_TRUE;
|
||||
pcmdpriv->cmdthd_running=true;
|
||||
_rtw_up_sema(&pcmdpriv->terminate_cmdthread_sema);
|
||||
|
||||
RT_TRACE(_module_rtl871x_cmd_c_,_drv_info_,("start r871x rtw_cmd_thread !!!!\n"));
|
||||
|
@ -447,7 +447,7 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
|
||||
if ((padapter->bDriverStopped == _TRUE)||(padapter->bSurpriseRemoved == _TRUE))
|
||||
if ((padapter->bDriverStopped == true)||(padapter->bSurpriseRemoved == true))
|
||||
{
|
||||
DBG_871X_LEVEL(_drv_always_, "%s: DriverStopped(%d) SurpriseRemoved(%d) break at line %d\n",
|
||||
__FUNCTION__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__);
|
||||
|
@ -475,7 +475,7 @@ _func_enter_;
|
|||
#endif
|
||||
|
||||
_next:
|
||||
if ((padapter->bDriverStopped == _TRUE)||(padapter->bSurpriseRemoved== _TRUE))
|
||||
if ((padapter->bDriverStopped == true)||(padapter->bSurpriseRemoved== true))
|
||||
{
|
||||
DBG_871X_LEVEL(_drv_always_, "%s: DriverStopped(%d) SurpriseRemoved(%d) break at line %d\n",
|
||||
__FUNCTION__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__);
|
||||
|
@ -548,7 +548,7 @@ post_process:
|
|||
goto _next;
|
||||
|
||||
}
|
||||
pcmdpriv->cmdthd_running=_FALSE;
|
||||
pcmdpriv->cmdthd_running=false;
|
||||
|
||||
|
||||
// free all cmd_obj resources
|
||||
|
@ -711,13 +711,13 @@ u8 rtw_sitesurvey_cmd(struct adapter *padapter, NDIS_802_11_SSID *ssid, int ssi
|
|||
_func_enter_;
|
||||
|
||||
#ifdef CONFIG_LPS
|
||||
if(check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE){
|
||||
if(check_fwstate(pmlmepriv, _FW_LINKED) == true){
|
||||
rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_SCAN, 1);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_P2P_PS
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) {
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
|
||||
p2p_ps_wk_cmd(padapter, P2P_PS_SCAN, 1);
|
||||
}
|
||||
#endif //CONFIG_P2P_PS
|
||||
|
@ -732,7 +732,7 @@ _func_enter_;
|
|||
return _FAIL;
|
||||
}
|
||||
|
||||
rtw_free_network_queue(padapter, _FALSE);
|
||||
rtw_free_network_queue(padapter, false);
|
||||
|
||||
RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("%s: flush network queue\n", __FUNCTION__));
|
||||
|
||||
|
@ -1190,7 +1190,7 @@ _func_enter_;
|
|||
|
||||
|
||||
//for hidden ap to set fw_state here
|
||||
if (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_ADHOC_STATE) != _TRUE)
|
||||
if (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_ADHOC_STATE) != true)
|
||||
{
|
||||
switch(ndis_network_mode)
|
||||
{
|
||||
|
@ -1242,7 +1242,7 @@ _func_enter_;
|
|||
// If not, we have to copy the connecting AP's MAC address to it so that
|
||||
// the driver just has the bssid information for PMKIDList searching.
|
||||
|
||||
if ( pmlmepriv->assoc_by_bssid == _FALSE )
|
||||
if ( pmlmepriv->assoc_by_bssid == false )
|
||||
{
|
||||
_rtw_memcpy( &pmlmepriv->assoc_bssid[ 0 ], &pnetwork->network.MacAddress[ 0 ], ETH_ALEN );
|
||||
}
|
||||
|
@ -1270,7 +1270,7 @@ _func_enter_;
|
|||
}
|
||||
|
||||
#ifdef CONFIG_80211N_HT
|
||||
phtpriv->ht_option = _FALSE;
|
||||
phtpriv->ht_option = false;
|
||||
if(pregistrypriv->ht_enable)
|
||||
{
|
||||
// Added by Albert 2010/06/23
|
||||
|
@ -1426,10 +1426,10 @@ _func_enter_;
|
|||
#endif //CONFIG_TDLS
|
||||
psetstakey_para->algorithm =(unsigned char) psecuritypriv->dot11PrivacyAlgrthm;
|
||||
}else{
|
||||
GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, _FALSE);
|
||||
GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false);
|
||||
}
|
||||
|
||||
if (unicast_key == _TRUE) {
|
||||
if (unicast_key == true) {
|
||||
#ifdef CONFIG_TDLS
|
||||
if((sta->tdls_sta_state&TDLS_LINKED_STATE)==TDLS_LINKED_STATE)
|
||||
_rtw_memcpy(&psetstakey_para->key, sta->tpk.tk, 16);
|
||||
|
@ -1442,7 +1442,7 @@ _func_enter_;
|
|||
}
|
||||
|
||||
//jeff: set this becasue at least sw key is ready
|
||||
padapter->securitypriv.busetkipkey=_TRUE;
|
||||
padapter->securitypriv.busetkipkey=true;
|
||||
|
||||
if(enqueue)
|
||||
{
|
||||
|
@ -2108,8 +2108,8 @@ static void traffic_status_watchdog(struct adapter *padapter)
|
|||
u8 bEnterPS;
|
||||
#endif
|
||||
u16 BusyThreshold = 200;// 100;
|
||||
u8 bBusyTraffic = _FALSE, bTxBusyTraffic = _FALSE, bRxBusyTraffic = _FALSE;
|
||||
u8 bHigherBusyTraffic = _FALSE, bHigherBusyRxTraffic = _FALSE, bHigherBusyTxTraffic = _FALSE;
|
||||
u8 bBusyTraffic = false, bTxBusyTraffic = false, bRxBusyTraffic = false;
|
||||
u8 bHigherBusyTraffic = false, bHigherBusyRxTraffic = false, bHigherBusyTxTraffic = false;
|
||||
#ifdef CONFIG_FTP_PROTECT
|
||||
u16 bPktCount = 0;
|
||||
#endif
|
||||
|
@ -2123,7 +2123,7 @@ static void traffic_status_watchdog(struct adapter *padapter)
|
|||
//
|
||||
// Determine if our traffic is busy now
|
||||
//
|
||||
if((check_fwstate(pmlmepriv, _FW_LINKED)== _TRUE)
|
||||
if((check_fwstate(pmlmepriv, _FW_LINKED)== true)
|
||||
/*&& !MgntInitAdapterInProgress(pMgntInfo)*/)
|
||||
{
|
||||
// if we raise bBusyTraffic in last watchdog, using lower threshold.
|
||||
|
@ -2132,24 +2132,24 @@ static void traffic_status_watchdog(struct adapter *padapter)
|
|||
if( pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > BusyThreshold ||
|
||||
pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > BusyThreshold )
|
||||
{
|
||||
bBusyTraffic = _TRUE;
|
||||
bBusyTraffic = true;
|
||||
|
||||
if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
|
||||
bRxBusyTraffic = _TRUE;
|
||||
bRxBusyTraffic = true;
|
||||
else
|
||||
bTxBusyTraffic = _TRUE;
|
||||
bTxBusyTraffic = true;
|
||||
}
|
||||
|
||||
// Higher Tx/Rx data.
|
||||
if( pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > 4000 ||
|
||||
pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > 4000 )
|
||||
{
|
||||
bHigherBusyTraffic = _TRUE;
|
||||
bHigherBusyTraffic = true;
|
||||
|
||||
if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
|
||||
bHigherBusyRxTraffic = _TRUE;
|
||||
bHigherBusyRxTraffic = true;
|
||||
else
|
||||
bHigherBusyTxTraffic = _TRUE;
|
||||
bHigherBusyTxTraffic = true;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FTP_PROTECT
|
||||
|
@ -2196,7 +2196,7 @@ static void traffic_status_watchdog(struct adapter *padapter)
|
|||
|
||||
#ifdef CONFIG_LPS
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
if (BT_1Ant(padapter) == _FALSE)
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
{
|
||||
// check traffic for powersaving.
|
||||
|
@ -2204,11 +2204,11 @@ static void traffic_status_watchdog(struct adapter *padapter)
|
|||
(pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2) )
|
||||
{
|
||||
//DBG_871X("Tx = %d, Rx = %d \n",pmlmepriv->LinkDetectInfo.NumTxOkInPeriod,pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod);
|
||||
bEnterPS= _FALSE;
|
||||
bEnterPS= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
bEnterPS= _TRUE;
|
||||
bEnterPS= true;
|
||||
}
|
||||
|
||||
// LeisurePS only work in infra mode.
|
||||
|
@ -2251,7 +2251,7 @@ void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
|||
|
||||
#ifdef CONFIG_ACTIVE_KEEP_ALIVE_CHECK
|
||||
#ifdef CONFIG_AP_MODE
|
||||
if(check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
|
||||
if(check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
|
||||
{
|
||||
expire_timeout_chk(padapter);
|
||||
}
|
||||
|
@ -2262,7 +2262,7 @@ void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
|||
rtw_hal_sreset_xmit_status_check(padapter);
|
||||
#endif
|
||||
|
||||
//if(check_fwstate(pmlmepriv, _FW_UNDER_LINKING|_FW_UNDER_SURVEY)==_FALSE)
|
||||
//if(check_fwstate(pmlmepriv, _FW_UNDER_LINKING|_FW_UNDER_SURVEY)==false)
|
||||
{
|
||||
linked_status_chk(padapter);
|
||||
traffic_status_watchdog(padapter);
|
||||
|
@ -2291,8 +2291,8 @@ void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type)
|
|||
|
||||
_func_enter_;
|
||||
|
||||
if((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == _TRUE)
|
||||
|| (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == _TRUE))
|
||||
if((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)
|
||||
|| (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -2302,11 +2302,11 @@ _func_enter_;
|
|||
case LPS_CTRL_SCAN:
|
||||
//DBG_871X("LPS_CTRL_SCAN \n");
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
BT_WifiScanNotify(padapter, _TRUE);
|
||||
if (BT_1Ant(padapter) == _FALSE)
|
||||
BT_WifiScanNotify(padapter, true);
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
{
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE)
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) == true)
|
||||
{ //connect
|
||||
LPS_Leave(padapter);
|
||||
}
|
||||
|
@ -2331,7 +2331,7 @@ _func_enter_;
|
|||
mstatus = 0;//disconnect
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
BT_WifiMediaStatusNotify(padapter, mstatus);
|
||||
if (BT_1Ant(padapter) == _FALSE)
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
{
|
||||
LPS_Leave(padapter);
|
||||
|
@ -2343,7 +2343,7 @@ _func_enter_;
|
|||
pwrpriv->DelayLPSLastTimeStamp = rtw_get_current_time();
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
BT_SpecialPacketNotify(padapter);
|
||||
if (BT_1Ant(padapter) == _FALSE)
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
{
|
||||
LPS_Leave(padapter);
|
||||
|
@ -2353,7 +2353,7 @@ _func_enter_;
|
|||
//DBG_871X("LPS_CTRL_LEAVE \n");
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
BT_LpsLeave(padapter);
|
||||
if (BT_1Ant(padapter) == _FALSE)
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
{
|
||||
LPS_Leave(padapter);
|
||||
|
@ -2477,14 +2477,14 @@ u8 rtw_antenna_select_cmd(struct adapter*padapter, u8 antenna,u8 enqueue)
|
|||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||
u8 bSupportAntDiv = _FALSE;
|
||||
u8 bSupportAntDiv = false;
|
||||
u8 res = _SUCCESS;
|
||||
|
||||
_func_enter_;
|
||||
rtw_hal_get_def_var(padapter, HAL_DEF_IS_SUPPORT_ANT_DIV, &(bSupportAntDiv));
|
||||
if(_FALSE == bSupportAntDiv ) return res;
|
||||
if(false == bSupportAntDiv ) return res;
|
||||
|
||||
if(_TRUE == enqueue)
|
||||
if(true == enqueue)
|
||||
{
|
||||
ph2c = (struct cmd_obj*)rtw_zmalloc(sizeof(struct cmd_obj));
|
||||
if(ph2c==NULL){
|
||||
|
@ -2643,7 +2643,7 @@ static void rtw_chk_hi_queue_hdl(struct adapter *padapter)
|
|||
|
||||
rtw_hal_get_hwreg(padapter, HW_VAR_CHK_HI_QUEUE_EMPTY, &val);
|
||||
|
||||
while(_FALSE == val)
|
||||
while(false == val)
|
||||
{
|
||||
rtw_msleep_os(100);
|
||||
|
||||
|
@ -2660,7 +2660,7 @@ static void rtw_chk_hi_queue_hdl(struct adapter *padapter)
|
|||
pstapriv->tim_bitmap &= ~BIT(0);
|
||||
pstapriv->sta_dz_bitmap &= ~BIT(0);
|
||||
|
||||
update_beacon(padapter, _TIM_IE_, NULL, _FALSE);
|
||||
update_beacon(padapter, _TIM_IE_, NULL, false);
|
||||
}
|
||||
else //re check again
|
||||
{
|
||||
|
@ -2749,14 +2749,14 @@ s32 c2h_evt_hdl(struct adapter *adapter, struct c2h_evt_hdr *c2h_evt, c2h_id_fil
|
|||
if (c2h_evt_read(adapter, buf) == _SUCCESS) {
|
||||
c2h_evt = (struct c2h_evt_hdr *)buf;
|
||||
|
||||
if (filter && filter(c2h_evt->id) == _FALSE)
|
||||
if (filter && filter(c2h_evt->id) == false)
|
||||
goto exit;
|
||||
|
||||
ret = rtw_hal_c2h_handler(adapter, c2h_evt);
|
||||
}
|
||||
} else {
|
||||
|
||||
if (filter && filter(c2h_evt->id) == _FALSE)
|
||||
if (filter && filter(c2h_evt->id) == false)
|
||||
goto exit;
|
||||
|
||||
ret = rtw_hal_c2h_handler(adapter, c2h_evt);
|
||||
|
@ -2773,7 +2773,7 @@ static void c2h_wk_callback(_workitem *work)
|
|||
struct c2h_evt_hdr *c2h_evt;
|
||||
c2h_id_filter ccx_id_filter = rtw_hal_c2h_id_filter_ccx(adapter);
|
||||
|
||||
evtpriv->c2h_wk_alive = _TRUE;
|
||||
evtpriv->c2h_wk_alive = true;
|
||||
|
||||
while (!rtw_cbuf_empty(evtpriv->c2h_queue)) {
|
||||
if ((c2h_evt = (struct c2h_evt_hdr *)rtw_cbuf_pop(evtpriv->c2h_queue)) != NULL) {
|
||||
|
@ -2794,7 +2794,7 @@ static void c2h_wk_callback(_workitem *work)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ccx_id_filter(c2h_evt->id) == _TRUE) {
|
||||
if (ccx_id_filter(c2h_evt->id) == true) {
|
||||
/* Handle CCX report here */
|
||||
rtw_hal_c2h_handler(adapter, c2h_evt);
|
||||
rtw_mfree((u8*)c2h_evt, 16);
|
||||
|
@ -2804,7 +2804,7 @@ static void c2h_wk_callback(_workitem *work)
|
|||
}
|
||||
}
|
||||
|
||||
evtpriv->c2h_wk_alive = _FALSE;
|
||||
evtpriv->c2h_wk_alive = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -2828,7 +2828,7 @@ void event_polling_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
|||
{
|
||||
c2h_evt_clear(padapter);
|
||||
}
|
||||
else if (ccx_id_filter(check_ccx & 0x0F) == _FALSE)
|
||||
else if (ccx_id_filter(check_ccx & 0x0F) == false)
|
||||
{
|
||||
if ((c2h_evt = (struct c2h_evt_hdr *)rtw_zmalloc(16)) != NULL) {
|
||||
if (c2h_evt_read(padapter, (u8 *)c2h_evt) == _SUCCESS) {
|
||||
|
@ -2844,7 +2844,7 @@ void event_polling_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (padapter->xmitpriv.ack_tx == _FALSE)
|
||||
if (padapter->xmitpriv.ack_tx == false)
|
||||
{
|
||||
c2h_evt_clear(padapter);
|
||||
}
|
||||
|
@ -3089,7 +3089,7 @@ _func_enter_;
|
|||
|
||||
pnetwork->Length = get_WLAN_BSSID_EX_sz(pnetwork);
|
||||
_rtw_memcpy(&(pwlan->network), pnetwork, pnetwork->Length);
|
||||
//pwlan->fixed = _TRUE;
|
||||
//pwlan->fixed = true;
|
||||
|
||||
//rtw_list_insert_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue);
|
||||
|
||||
|
@ -3163,7 +3163,7 @@ _func_enter_;
|
|||
|
||||
_enter_critical_bh(&pmlmepriv->lock, &irqL);
|
||||
|
||||
if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == _TRUE) && (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == _TRUE))
|
||||
if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) && (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true))
|
||||
_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
|
||||
|
||||
set_fwstate(pmlmepriv, _FW_LINKED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue