提交 c2532beb 编写于 作者: B Brooke Basile 提交者: Greg Kroah-Hartman

staging: rtl8188eu: Replace function name with __func__

Fix the following checkpatch warning:
	WARNING: Prefer using '"%s...", __func__' to using 'rtw_get_bcn_info', this function's name, in a string
Signed-off-by: NBrooke Basile <brookebasile@gmail.com>
Link: https://lore.kernel.org/r/20200629173711.5158-1-brookebasile@gmail.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 24fe7310
...@@ -987,10 +987,10 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork) ...@@ -987,10 +987,10 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork)
if (bencrypt) if (bencrypt)
pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_WEP; pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_WEP;
} }
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n", RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n",
pnetwork->BcnInfo.encryp_protocol)); __func__, pnetwork->BcnInfo.encryp_protocol));
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n", RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n",
pnetwork->BcnInfo.encryp_protocol)); __func__, pnetwork->BcnInfo.encryp_protocol));
rtw_get_cipher_info(pnetwork); rtw_get_cipher_info(pnetwork);
/* get bwmode and ch_offset */ /* get bwmode and ch_offset */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册