From f359dd277017f8aa7a0bc790c42d20911c5947fe Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Wed, 20 Feb 2019 10:34:28 +0530 Subject: [PATCH] qcacld-3.0: Avoid using ifdef for print arguments Avoid using ifdef for print arguments. Change-Id: Iea2b60189d2aa7ba8108fc5f1f04802e5403efeb CRs-Fixed: 2401654 --- core/mac/src/pe/lim/lim_send_management_frames.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c index fec364fb10..5b26ffd157 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -2589,20 +2589,27 @@ QDF_STATUS lim_send_deauth_cnf(struct mac_context *mac_ctx) deauth_req->deauthTrigger); lim_ft_cleanup(mac_ctx, session_entry); } else { - pe_debug("No FT Preauth Session Cleanup in role %d" #ifdef FEATURE_WLAN_ESE + pe_debug("No FT Preauth Session Cleanup in role %d" " isESE %d" -#endif " isLFR %d" " is11r %d, Deauth reason %d Trigger = %d", session_entry->limSystemRole, -#ifdef FEATURE_WLAN_ESE session_entry->isESEconnection, -#endif session_entry->isFastRoamIniFeatureEnabled, session_entry->is11Rconnection, deauth_req->reasonCode, deauth_req->deauthTrigger); +#else + pe_debug("No FT Preauth Session Cleanup in role %d" + " isLFR %d" + " is11r %d, Deauth reason %d Trigger = %d", + session_entry->limSystemRole, + session_entry->isFastRoamIniFeatureEnabled, + session_entry->is11Rconnection, + deauth_req->reasonCode, + deauth_req->deauthTrigger); +#endif } /* Free up buffer allocated for mlmDeauthReq */ qdf_mem_free(deauth_req);