Commit 557f9a45 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: rtw_do_join23a(): Use __func__ to get function name in debug messages

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b66dad2d
...@@ -35,8 +35,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter) ...@@ -35,8 +35,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter)
plist = phead->next; plist = phead->next;
RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_,
("\n rtw_do_join23a: phead = %p; plist = %p\n\n\n", ("%s: phead = %p; plist = %p\n\n\n", __func__, phead, plist));
phead, plist));
pmlmepriv->cur_network.join_res = -2; pmlmepriv->cur_network.join_res = -2;
...@@ -55,8 +54,8 @@ int rtw_do_join23a(struct rtw_adapter *padapter) ...@@ -55,8 +54,8 @@ int rtw_do_join23a(struct rtw_adapter *padapter)
if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false || if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false ||
padapter->mlmepriv.to_roaming > 0) { padapter->mlmepriv.to_roaming > 0) {
RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_,
("rtw_do_join23a(): site survey if scanned_queue " ("%s: site survey if scanned_queue is empty\n",
"is empty\n.")); __func__));
/* submit site_survey23a_cmd */ /* submit site_survey23a_cmd */
ret = rtw_sitesurvey_cmd23a(padapter, ret = rtw_sitesurvey_cmd23a(padapter,
&pmlmepriv->assoc_ssid, 1, &pmlmepriv->assoc_ssid, 1,
...@@ -64,8 +63,8 @@ int rtw_do_join23a(struct rtw_adapter *padapter) ...@@ -64,8 +63,8 @@ int rtw_do_join23a(struct rtw_adapter *padapter)
if (ret != _SUCCESS) { if (ret != _SUCCESS) {
pmlmepriv->to_join = false; pmlmepriv->to_join = false;
RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_,
("rtw_do_join23a(): site survey return " ("%s: site survey return error\n",
"error\n.")); __func__));
} }
} else { } else {
pmlmepriv->to_join = false; pmlmepriv->to_join = false;
...@@ -134,7 +133,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter) ...@@ -134,7 +133,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter)
ret = rtw_sitesurvey_cmd23a(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0); ret = rtw_sitesurvey_cmd23a(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0);
if (ret != _SUCCESS) { if (ret != _SUCCESS) {
pmlmepriv->to_join = false; pmlmepriv->to_join = false;
RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("do_join(): site survey return error\n.")); RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("%s: site survey return error\n", __func__));
} }
} else { } else {
ret = _FAIL; ret = _FAIL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment