staging: rtl8723au: rtw_get_bcn_info23a(): Use __func__ in debug prints
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 19 Jun 2014 09:37:33 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 20:08:51 +0000 (13:08 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ieee80211.c

index d60fb3c06f9c776467a873c6414aa12186a5c654..f2c4a0e89ed45580551a214b3c5b32ac58bb256d 100644 (file)
@@ -782,7 +782,7 @@ void rtw_get_bcn_info23a(struct wlan_network *pnetwork)
                pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_OPENSYS;
 
        RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_,
-                ("rtw_get_bcn_info23a: ssid =%s\n", pnetwork->network.Ssid.ssid));
+                ("%s: ssid =%s\n", __func__, pnetwork->network.Ssid.ssid));
 
        ie_offset = offsetof(struct ieee80211_mgmt, u.beacon.variable) -
                offsetof(struct ieee80211_mgmt, u);
@@ -801,10 +801,10 @@ void rtw_get_bcn_info23a(struct wlan_network *pnetwork)
                        pnetwork->BcnInfo.encryp_protocol = ENCRYP_PROTOCOL_WEP;
        }
        RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_,
-                ("rtw_get_bcn_info23a: pnetwork->encryp_protocol is %x\n",
+                ("%s: pnetwork->encryp_protocol is %x\n", __func__,
                  pnetwork->BcnInfo.encryp_protocol));
        RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_,
-                ("rtw_get_bcn_info23a: pnetwork->encryp_protocol is %x\n",
+                ("%s: pnetwork->encryp_protocol is %x\n", __func__,
                  pnetwork->BcnInfo.encryp_protocol));
        rtw_get_cipher_info(pnetwork);