mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +00:00
rtl8188eu: Replace all instances if __FUNCTION__ with __func__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2b8372b0af
commit
22421e29fb
69 changed files with 1290 additions and 1852 deletions
|
@ -1710,7 +1710,7 @@ static struct sta_info *rtw_joinbss_update_stainfo(_adapter *padapter, struct wl
|
|||
psta = rtw_alloc_stainfo(pstapriv, pnetwork->network.MacAddress);
|
||||
|
||||
if (psta) { /* update ptarget_sta */
|
||||
RTW_INFO("%s\n", __FUNCTION__);
|
||||
RTW_INFO("%s\n", __func__);
|
||||
|
||||
psta->aid = pnetwork->join_res;
|
||||
|
||||
|
@ -1784,7 +1784,7 @@ static struct sta_info *rtw_joinbss_update_stainfo(_adapter *padapter, struct wl
|
|||
preorder_ctrl->enable = _FALSE;
|
||||
preorder_ctrl->indicate_seq = 0xffff;
|
||||
#ifdef DBG_RX_SEQ
|
||||
RTW_INFO("DBG_RX_SEQ %s:%d indicate_seq:%u\n", __FUNCTION__, __LINE__,
|
||||
RTW_INFO("DBG_RX_SEQ %s:%d indicate_seq:%u\n", __func__, __LINE__,
|
||||
preorder_ctrl->indicate_seq);
|
||||
#endif
|
||||
preorder_ctrl->wend_b = 0xffff;
|
||||
|
@ -1801,7 +1801,7 @@ static struct sta_info *rtw_joinbss_update_stainfo(_adapter *padapter, struct wl
|
|||
preorder_ctrl->enable = _FALSE;
|
||||
preorder_ctrl->indicate_seq = 0xffff;
|
||||
#ifdef DBG_RX_SEQ
|
||||
RTW_INFO("DBG_RX_SEQ %s:%d indicate_seq:%u\n", __FUNCTION__, __LINE__,
|
||||
RTW_INFO("DBG_RX_SEQ %s:%d indicate_seq:%u\n", __func__, __LINE__,
|
||||
preorder_ctrl->indicate_seq);
|
||||
#endif
|
||||
preorder_ctrl->wend_b = 0xffff;
|
||||
|
@ -1822,7 +1822,7 @@ static void rtw_joinbss_update_network(_adapter *padapter, struct wlan_network *
|
|||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||
struct wlan_network *cur_network = &(pmlmepriv->cur_network);
|
||||
|
||||
RTW_INFO("%s\n", __FUNCTION__);
|
||||
RTW_INFO("%s\n", __func__);
|
||||
|
||||
|
||||
|
||||
|
@ -2615,7 +2615,7 @@ void _rtw_join_timeout_handler(_adapter *adapter)
|
|||
|
||||
|
||||
|
||||
RTW_INFO("%s, fw_state=%x\n", __FUNCTION__, get_fwstate(pmlmepriv));
|
||||
RTW_INFO("%s, fw_state=%x\n", __func__, get_fwstate(pmlmepriv));
|
||||
|
||||
if (RTW_CANNOT_RUN(adapter))
|
||||
return;
|
||||
|
@ -2629,10 +2629,10 @@ void _rtw_join_timeout_handler(_adapter *adapter)
|
|||
rtw_dec_to_roam(adapter);
|
||||
if (rtw_to_roam(adapter) != 0) { /* try another */
|
||||
int do_join_r;
|
||||
RTW_INFO("%s try another roaming\n", __FUNCTION__);
|
||||
RTW_INFO("%s try another roaming\n", __func__);
|
||||
do_join_r = rtw_do_join(adapter);
|
||||
if (_SUCCESS != do_join_r) {
|
||||
RTW_INFO("%s roaming do_join return %d\n", __FUNCTION__ , do_join_r);
|
||||
RTW_INFO("%s roaming do_join return %d\n", __func__ , do_join_r);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
@ -2644,7 +2644,7 @@ void _rtw_join_timeout_handler(_adapter *adapter)
|
|||
RTW_INFO("change to widi listen\n");
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
RTW_INFO("%s We've try roaming but fail\n", __FUNCTION__);
|
||||
RTW_INFO("%s We've try roaming but fail\n", __func__);
|
||||
#ifdef CONFIG_RTW_80211R
|
||||
rtw_clr_ft_flags(adapter, RTW_FT_SUPPORTED|RTW_FT_OVER_DS_SUPPORTED);
|
||||
rtw_reset_ft_status(adapter);
|
||||
|
@ -3128,11 +3128,11 @@ int rtw_select_roaming_candidate(struct mlme_priv *mlme)
|
|||
}
|
||||
|
||||
if (candidate == NULL) {
|
||||
RTW_INFO("%s: return _FAIL(candidate == NULL)\n", __FUNCTION__);
|
||||
RTW_INFO("%s: return _FAIL(candidate == NULL)\n", __func__);
|
||||
ret = _FAIL;
|
||||
goto exit;
|
||||
} else {
|
||||
RTW_INFO("%s: candidate: %s("MAC_FMT", ch:%u)\n", __FUNCTION__,
|
||||
RTW_INFO("%s: candidate: %s("MAC_FMT", ch:%u)\n", __func__,
|
||||
candidate->network.Ssid.Ssid, MAC_ARG(candidate->network.MacAddress),
|
||||
candidate->network.Configuration.DSConfig);
|
||||
|
||||
|
@ -3270,14 +3270,14 @@ int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv)
|
|||
}
|
||||
|
||||
if (candidate == NULL) {
|
||||
RTW_INFO("%s: return _FAIL(candidate == NULL)\n", __FUNCTION__);
|
||||
RTW_INFO("%s: return _FAIL(candidate == NULL)\n", __func__);
|
||||
#ifdef CONFIG_WOWLAN
|
||||
_clr_fwstate_(pmlmepriv, _FW_LINKED | _FW_UNDER_LINKING);
|
||||
#endif
|
||||
ret = _FAIL;
|
||||
goto exit;
|
||||
} else {
|
||||
RTW_INFO("%s: candidate: %s("MAC_FMT", ch:%u)\n", __FUNCTION__,
|
||||
RTW_INFO("%s: candidate: %s("MAC_FMT", ch:%u)\n", __func__,
|
||||
candidate->network.Ssid.Ssid, MAC_ARG(candidate->network.MacAddress),
|
||||
candidate->network.Configuration.DSConfig);
|
||||
goto candidate_exist;
|
||||
|
@ -3287,11 +3287,11 @@ candidate_exist:
|
|||
|
||||
/* check for situation of _FW_LINKED */
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) {
|
||||
RTW_INFO("%s: _FW_LINKED while ask_for_joinbss!!!\n", __FUNCTION__);
|
||||
RTW_INFO("%s: _FW_LINKED while ask_for_joinbss!!!\n", __func__);
|
||||
|
||||
#if 0 /* for WPA/WPA2 authentication, wpa_supplicant will expect authentication from AP, it is needed to reconnect AP... */
|
||||
if (is_same_network(&pmlmepriv->cur_network.network, &candidate->network)) {
|
||||
RTW_INFO("%s: _FW_LINKED and is same network, it needn't join again\n", __FUNCTION__);
|
||||
RTW_INFO("%s: _FW_LINKED and is same network, it needn't join again\n", __func__);
|
||||
|
||||
rtw_indicate_connect(adapter);/* rtw_indicate_connect again */
|
||||
|
||||
|
@ -4022,7 +4022,7 @@ unsigned int rtw_restructure_ht_ie(_adapter *padapter, u8 *in_ie, u8 *out_ie, ui
|
|||
rtw_hal_get_def_var(padapter, HAL_DEF_RX_PACKET_OFFSET, &rx_packet_offset);
|
||||
rtw_hal_get_def_var(padapter, HAL_DEF_MAX_RECVBUF_SZ, &max_recvbuf_sz);
|
||||
if (max_recvbuf_sz - rx_packet_offset >= (8191 - 256)) {
|
||||
RTW_INFO("%s IEEE80211_HT_CAP_MAX_AMSDU is set\n", __FUNCTION__);
|
||||
RTW_INFO("%s IEEE80211_HT_CAP_MAX_AMSDU is set\n", __func__);
|
||||
ht_capie.cap_info = ht_capie.cap_info | cpu_to_le16(IEEE80211_HT_CAP_MAX_AMSDU);
|
||||
}
|
||||
if (padapter->driver_rx_ampdu_factor != 0xFF)
|
||||
|
@ -4221,7 +4221,7 @@ void rtw_update_ht_cap(_adapter *padapter, u8 *pie, uint ie_len, u8 channel)
|
|||
/* */
|
||||
pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & 0x0C) >> 2;
|
||||
if (pmlmeinfo->SM_PS == WLAN_HT_CAP_SM_PS_STATIC)
|
||||
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __FUNCTION__);
|
||||
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __func__);
|
||||
|
||||
/* Config current HT Protection mode. */
|
||||
pmlmeinfo->HT_protection = pmlmeinfo->HT_info.infos[1] & 0x3;
|
||||
|
@ -4248,7 +4248,7 @@ void rtw_issue_addbareq_cmd_tdls(_adapter *padapter, struct xmit_frame *pxmitfra
|
|||
issued |= (phtpriv->candidate_tid_bitmap >> priority) & 0x1;
|
||||
|
||||
if (0 == issued) {
|
||||
RTW_INFO("[%s], p=%d\n", __FUNCTION__, priority);
|
||||
RTW_INFO("[%s], p=%d\n", __func__, priority);
|
||||
ptdls_sta->htpriv.candidate_tid_bitmap |= BIT((u8)priority);
|
||||
rtw_addbareq_cmd(padapter, (u8)priority, pattrib->dst);
|
||||
}
|
||||
|
@ -4394,7 +4394,7 @@ void _rtw_roaming(_adapter *padapter, struct wlan_network *tgt_network)
|
|||
if (rtw_to_roam(padapter) > 0)
|
||||
continue;
|
||||
else {
|
||||
RTW_INFO("%s(%d) -to roaming fail, indicate_disconnect\n", __FUNCTION__, __LINE__);
|
||||
RTW_INFO("%s(%d) -to roaming fail, indicate_disconnect\n", __func__, __LINE__);
|
||||
#ifdef CONFIG_RTW_80211R
|
||||
rtw_clr_ft_flags(padapter, RTW_FT_SUPPORTED|RTW_FT_OVER_DS_SUPPORTED);
|
||||
rtw_reset_ft_status(padapter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue