rtl8188eu: Remove __func_enter__ and __func_exit__

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-01-26 16:20:25 -06:00
parent 19da086afe
commit a8e1fbf1f9
27 changed files with 691 additions and 691 deletions

View file

@ -153,7 +153,7 @@ u8 *rtw_set_ie
uint *frlen //frame length
)
{
_func_enter_;
;
*pbuf = (u8)index;
*(pbuf + 1) = (u8)len;
@ -164,7 +164,7 @@ _func_enter_;
*frlen = *frlen + (len + 2);
return (pbuf + len + 2);
_func_exit_;
;
}
inline u8 *rtw_set_ie_ch_switch(u8 *buf, u32 *buf_len, u8 ch_switch_mode,
@ -227,9 +227,9 @@ u8 *rtw_get_ie(u8 *pbuf, sint index, sint *len, sint limit)
{
sint tmp,i;
u8 *p;
_func_enter_;
;
if (limit < 1){
_func_exit_;
;
return NULL;
}
@ -252,7 +252,7 @@ _func_enter_;
if (i >= limit)
break;
}
_func_exit_;
;
return NULL;
}
@ -356,7 +356,7 @@ exit:
void rtw_set_supported_rate(u8* SupportedRates, uint mode)
{
_func_enter_;
;
_rtw_memset(SupportedRates, 0, NDIS_802_11_LENGTH_RATES_EX);
@ -382,13 +382,13 @@ _func_enter_;
break;
}
_func_exit_;
;
}
uint rtw_get_rateset_len(u8 *rateset)
{
uint i = 0;
_func_enter_;
;
while(1)
{
if ((rateset[i]) == 0)
@ -399,7 +399,7 @@ _func_enter_;
i++;
}
_func_exit_;
;
return i;
}
@ -410,7 +410,7 @@ int rtw_generate_ie(struct registry_priv *pregistrypriv)
WLAN_BSSID_EX* pdev_network = &pregistrypriv->dev_network;
u8* ie = pdev_network->IEs;
_func_enter_;
;
//timestamp will be inserted by hardware
sz += 8;
@ -489,7 +489,7 @@ _func_enter_;
//pdev_network->IELength = sz; //update IELength
_func_exit_;
;
//return _SUCCESS;
@ -764,7 +764,7 @@ int rtw_get_wapi_ie(u8 *in_ie,uint in_len,u8 *wapi_ie,u16 *wapi_len)
u8 wapi_oui1[4]={0x0,0x14,0x72,0x01};
u8 wapi_oui2[4]={0x0,0x14,0x72,0x02};
_func_enter_;
;
cnt = (_TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_);
while(cnt<in_len)
{
@ -794,7 +794,7 @@ _func_enter_;
}
return *wapi_len;
_func_exit_;
;
}
@ -806,7 +806,7 @@ int rtw_get_sec_ie(u8 *in_ie,uint in_len,u8 *rsn_ie,u16 *rsn_len,u8 *wpa_ie,u16
u8 wpa_oui[4]={0x0,0x50,0xf2,0x01};
uint cnt;
_func_enter_;
;
//Search required WPA or WPA2 IE and copy to sec_ie[ ]
@ -862,7 +862,7 @@ _func_enter_;
}
_func_exit_;
;
return (*rsn_len+*wpa_len);