mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Remove CONFIG_FW_MLMLE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e9bc67fa4f
commit
71bc916e05
1 changed files with 8 additions and 33 deletions
|
@ -2448,45 +2448,20 @@ _func_enter_;
|
||||||
|
|
||||||
_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
|
_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
|
||||||
|
|
||||||
#ifdef CONFIG_FW_MLMLE
|
|
||||||
/* endian_convert */
|
|
||||||
pnetwork->Length = le32_to_cpu(pnetwork->Length);
|
|
||||||
pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength);
|
|
||||||
pnetwork->Privacy =le32_to_cpu(pnetwork->Privacy);
|
|
||||||
pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi);
|
|
||||||
pnetwork->NetworkTypeInUse =le32_to_cpu(pnetwork->NetworkTypeInUse);
|
|
||||||
pnetwork->Configuration.ATIMWindow = le32_to_cpu(pnetwork->Configuration.ATIMWindow);
|
|
||||||
/* pnetwork->Configuration.BeaconPeriod = le32_to_cpu(pnetwork->Configuration.BeaconPeriod); */
|
|
||||||
pnetwork->Configuration.DSConfig =le32_to_cpu(pnetwork->Configuration.DSConfig);
|
|
||||||
pnetwork->Configuration.FHConfig.DwellTime=le32_to_cpu(pnetwork->Configuration.FHConfig.DwellTime);
|
|
||||||
pnetwork->Configuration.FHConfig.HopPattern=le32_to_cpu(pnetwork->Configuration.FHConfig.HopPattern);
|
|
||||||
pnetwork->Configuration.FHConfig.HopSet=le32_to_cpu(pnetwork->Configuration.FHConfig.HopSet);
|
|
||||||
pnetwork->Configuration.FHConfig.Length=le32_to_cpu(pnetwork->Configuration.FHConfig.Length);
|
|
||||||
pnetwork->Configuration.Length = le32_to_cpu(pnetwork->Configuration.Length);
|
|
||||||
pnetwork->InfrastructureMode = le32_to_cpu(pnetwork->InfrastructureMode);
|
|
||||||
pnetwork->IELength = le32_to_cpu(pnetwork->IELength);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
_enter_critical_bh(&pmlmepriv->lock, &irqL);
|
_enter_critical_bh(&pmlmepriv->lock, &irqL);
|
||||||
|
|
||||||
|
if (check_fwstate(pmlmepriv, WIFI_AP_STATE) ) {
|
||||||
if (check_fwstate(pmlmepriv, WIFI_AP_STATE) )
|
|
||||||
{
|
|
||||||
psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress);
|
psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress);
|
||||||
if (!psta)
|
if (!psta) {
|
||||||
{
|
|
||||||
psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress);
|
psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress);
|
||||||
if (psta == NULL)
|
if (psta == NULL) {
|
||||||
{
|
|
||||||
RT_TRACE(_module_rtl871x_cmd_c_,_drv_err_,("\nCan't alloc sta_info when createbss_cmd_callback\n"));
|
RT_TRACE(_module_rtl871x_cmd_c_,_drv_err_,("\nCan't alloc sta_info when createbss_cmd_callback\n"));
|
||||||
goto createbss_cmd_fail ;
|
goto createbss_cmd_fail ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rtw_indicate_connect( padapter);
|
rtw_indicate_connect( padapter);
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
_irqL irqL;
|
_irqL irqL;
|
||||||
|
|
||||||
pwlan = _rtw_alloc_network(pmlmepriv);
|
pwlan = _rtw_alloc_network(pmlmepriv);
|
||||||
|
|
Loading…
Reference in a new issue