Skip to content

Commit c2532be

Browse files
brookebasilegregkh
authored andcommitted
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: Brooke Basile <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 24fe731 commit c2532be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/staging/rtl8188eu/core/rtw_ieee80211.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -987,10 +987,10 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork)
987987
if (bencrypt)
988988
pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_WEP;
989989
}
990-
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n",
991-
pnetwork->BcnInfo.encryp_protocol));
992-
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: pnetwork->encryp_protocol is %x\n",
993-
pnetwork->BcnInfo.encryp_protocol));
990+
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n",
991+
__func__, pnetwork->BcnInfo.encryp_protocol));
992+
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: pnetwork->encryp_protocol is %x\n",
993+
__func__, pnetwork->BcnInfo.encryp_protocol));
994994
rtw_get_cipher_info(pnetwork);
995995

996996
/* get bwmode and ch_offset */

0 commit comments

Comments
 (0)