diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2016-11-08 11:30:37 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-08 15:25:28 -0800 |
| commit | 789d7e4ce48d6db75ca648ff49ea067892de0c74 (patch) | |
| tree | 8e763bc77d8c9d8288b0c56617e898b46d0d6344 | |
| parent | 974d9c08155e1c4996ab111764332f919a392e7c (diff) | |
qcacld-3.0: WMA: Fix incorrect use of "\" line continuation
Currently there are instances of the "\" line continuation character
being used inside quoted strings. This has the undesired side effect
of including the indentation of the continued line as part of the
quoted string. In addition per the Linux Coding Style user-visible
strings should not be split. So remove all incorrect instances of "\"
line continuation from WMA.
Change-Id: Ibf93c4725c8765ae02b53193c3f5d8aa2a886bfc
CRs-Fixed: 1087302
| -rw-r--r-- | core/wma/src/wma_main.c | 24 | ||||
| -rw-r--r-- | core/wma/src/wma_power.c | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index aeeb71b81e90..8db6b3b52926 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -3808,9 +3808,9 @@ static inline void wma_update_target_ht_cap(tp_wma_handle wh, /* RF chains */ cfg->num_rf_chains = wh->num_rf_chains; - WMA_LOGD("%s: ht_cap_info - %x ht_rx_stbc - %d, ht_tx_stbc - %d\n\ - mpdu_density - %d ht_rx_ldpc - %d ht_sgi_20 - %d\n\ - ht_sgi_40 - %d num_rf_chains - %d ", __func__, wh->ht_cap_info, + WMA_LOGD("%s: ht_cap_info - %x ht_rx_stbc - %d, ht_tx_stbc - %d\n" + "mpdu_density - %d ht_rx_ldpc - %d ht_sgi_20 - %d\n" + "ht_sgi_40 - %d num_rf_chains - %d", __func__, wh->ht_cap_info, cfg->ht_rx_stbc, cfg->ht_tx_stbc, cfg->mpdu_density, cfg->ht_rx_ldpc, cfg->ht_sgi_20, cfg->ht_sgi_40, cfg->num_rf_chains); @@ -3869,9 +3869,9 @@ static inline void wma_update_target_vht_cap(tp_wma_handle wh, cfg->vht_txop_ps = wh->vht_cap_info & WMI_VHT_CAP_TXOP_PS; - WMA_LOGD(" %s: max_mpdu %d supp_chan_width %x rx_ldpc %x\n \ - short_gi_80 %x tx_stbc %x rx_stbc %x txop_ps %x\n \ - su_bformee %x mu_bformee %x max_ampdu_len_exp %d", __func__, + WMA_LOGD("%s: max_mpdu %d supp_chan_width %x rx_ldpc %x\n" + "short_gi_80 %x tx_stbc %x rx_stbc %x txop_ps %x\n" + "su_bformee %x mu_bformee %x max_ampdu_len_exp %d", __func__, cfg->vht_max_mpdu, cfg->supp_chan_width, cfg->vht_rx_ldpc, cfg->vht_short_gi_80, cfg->vht_tx_stbc, cfg->vht_rx_stbc, cfg->vht_txop_ps, cfg->vht_su_bformee, cfg->vht_mu_bformee, @@ -3992,9 +3992,9 @@ static void wma_update_target_ext_ht_cap(tp_wma_handle wma_handle, sizeof(struct wma_tgt_ht_cap)); } - WMA_LOGI("%s: [ext ht cap] ht_rx_stbc - %d, ht_tx_stbc - %d\n\ - mpdu_density - %d ht_rx_ldpc - %d ht_sgi_20 - %d\n\ - ht_sgi_40 - %d num_rf_chains - %d ", __func__, + WMA_LOGI("%s: [ext ht cap] ht_rx_stbc - %d, ht_tx_stbc - %d\n" + "mpdu_density - %d ht_rx_ldpc - %d ht_sgi_20 - %d\n" + "ht_sgi_40 - %d num_rf_chains - %d", __func__, ht_cap->ht_rx_stbc, ht_cap->ht_tx_stbc, ht_cap->mpdu_density, ht_cap->ht_rx_ldpc, ht_cap->ht_sgi_20, ht_cap->ht_sgi_40, @@ -4163,9 +4163,9 @@ static void wma_update_target_ext_vht_cap(t_wma_handle *wma_handle, sizeof(struct wma_tgt_vht_cap)); } - WMA_LOGI("%s: [ext vhtcap] max_mpdu %d supp_chan_width %x rx_ldpc %x\n \ - short_gi_80 %x tx_stbc %x rx_stbc %x txop_ps %x\n \ - su_bformee %x mu_bformee %x max_ampdu_len_exp %d", __func__, + WMA_LOGI("%s: [ext vhtcap] max_mpdu %d supp_chan_width %x rx_ldpc %x\n" + "short_gi_80 %x tx_stbc %x rx_stbc %x txop_ps %x\n" + "su_bformee %x mu_bformee %x max_ampdu_len_exp %d", __func__, vht_cap->vht_max_mpdu, vht_cap->supp_chan_width, vht_cap->vht_rx_ldpc, vht_cap->vht_short_gi_80, vht_cap->vht_tx_stbc, vht_cap->vht_rx_stbc, diff --git a/core/wma/src/wma_power.c b/core/wma/src/wma_power.c index 23a7f6d4b5c5..6e258aa911a3 100644 --- a/core/wma/src/wma_power.c +++ b/core/wma/src/wma_power.c @@ -1620,8 +1620,8 @@ void wma_process_set_mimops_req(tp_wma_handle wma_handle, else if (mimops->htMIMOPSState == eSIR_HT_MIMO_PS_NO_LIMIT) mimops->htMIMOPSState = WMI_PEER_MIMO_PS_NONE; - WMA_LOGD("%s: htMIMOPSState = %d, sessionId = %d \ - peerMac <%02x:%02x:%02x:%02x:%02x:%02x>", __func__, + WMA_LOGD("%s: htMIMOPSState = %d, sessionId = %d peerMac <%02x:%02x:%02x:%02x:%02x:%02x>", + __func__, mimops->htMIMOPSState, mimops->sessionId, mimops->peerMac[0], mimops->peerMac[1], mimops->peerMac[2], mimops->peerMac[3], mimops->peerMac[4], mimops->peerMac[5]); |
