qcacld-3.0: Fix tab stop checkpatch warnings
Fix tab stop checkpatch warnings.
Change-Id: I4ccbc39b571737413de038fabcd4b8641a39cd62
CRs-Fixed: 2312593
diff --git a/components/pmo/core/src/wlan_pmo_gtk.c b/components/pmo/core/src/wlan_pmo_gtk.c
index 28f80f8..30a8ffd 100644
--- a/components/pmo/core/src/wlan_pmo_gtk.c
+++ b/components/pmo/core/src/wlan_pmo_gtk.c
@@ -137,7 +137,7 @@
pmo_err("cache request mac:%pM, peer mac:%pM are not same",
vdev_ctx->vdev_gtk_req.bssid.bytes,
peer_bssid.bytes);
- return QDF_STATUS_E_INVAL;
+ return QDF_STATUS_E_INVAL;
}
if (vdev_ctx->vdev_gtk_req.flags != PMO_GTK_OFFLOAD_ENABLE) {
diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c
index cdf2053..26f5e11 100644
--- a/core/mac/src/pe/lim/lim_api.c
+++ b/core/mac/src/pe/lim/lim_api.c
@@ -2662,9 +2662,9 @@
dph_table);
if (!sta_ds) {
if (subType == SIR_MAC_MGMT_ASSOC_REQ)
- return eMGMT_DROP_NO_DROP;
+ return eMGMT_DROP_NO_DROP;
else
- return eMGMT_DROP_EXCESSIVE_MGMT_FRAME;
+ return eMGMT_DROP_EXCESSIVE_MGMT_FRAME;
}
if (subType == SIR_MAC_MGMT_ASSOC_REQ)
diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c
index de6f234..f9d56f3 100644
--- a/core/mac/src/pe/lim/lim_assoc_utils.c
+++ b/core/mac/src/pe/lim/lim_assoc_utils.c
@@ -1090,9 +1090,9 @@
session_entry->protStaCache[i].addr,
sta_ds->staAddr,
sizeof(tSirMacAddr)))) {
- session_entry->gLim11gParams.numSta--;
- session_entry->protStaCache[i].active = false;
- break;
+ session_entry->gLim11gParams.numSta--;
+ session_entry->protStaCache[i].active = false;
+ break;
}
}
diff --git a/core/mac/src/pe/lim/lim_link_monitoring_algo.c b/core/mac/src/pe/lim/lim_link_monitoring_algo.c
index 8e48076..de1ac66 100644
--- a/core/mac/src/pe/lim/lim_link_monitoring_algo.c
+++ b/core/mac/src/pe/lim/lim_link_monitoring_algo.c
@@ -96,7 +96,7 @@
* don't trigger STA deletion to avoid the race
* condition.
*/
- if ((stads &&
+ if ((stads &&
((stads->mlmStaContext.mlmState !=
eLIM_MLM_LINK_ESTABLISHED_STATE) &&
(stads->mlmStaContext.mlmState !=
diff --git a/core/mac/src/pe/lim/lim_process_action_frame.c b/core/mac/src/pe/lim/lim_process_action_frame.c
index e07f8c1..a1739c7 100644
--- a/core/mac/src/pe/lim/lim_process_action_frame.c
+++ b/core/mac/src/pe/lim/lim_process_action_frame.c
@@ -1332,7 +1332,7 @@
nStatus, frameLen);
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_ERROR,
pBody, frameLen);
- goto err;
+ goto err;
} else if (DOT11F_WARNED(nStatus)) {
pe_debug("There were warnings while unpacking a Radio Measure request (0x%08x, %d bytes):",
nStatus, frameLen);
diff --git a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
index be6a957..d181ac2 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
@@ -852,7 +852,7 @@
if (assoc_rsp->QosMapSet.present)
qdf_mem_copy(&session_entry->QosMapSet,
&assoc_rsp->QosMapSet, sizeof(tSirQosMapSet));
- else
+ else
qdf_mem_zero(&session_entry->QosMapSet, sizeof(tSirQosMapSet));
if (assoc_rsp->obss_scanparams.present)
diff --git a/core/mac/src/pe/lim/lim_process_tdls.c b/core/mac/src/pe/lim/lim_process_tdls.c
index d3613d1..c3f02c0 100644
--- a/core/mac/src/pe/lim/lim_process_tdls.c
+++ b/core/mac/src/pe/lim/lim_process_tdls.c
@@ -260,7 +260,7 @@
}
if (valid_count >= ARRAY_SIZE(suppChannels->bands))
- break;
+ break;
suppChannels->bands[valid_count][0] = validChan[i];
suppChannels->bands[valid_count][1] = 1;
valid_count++;
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index f2daddf..cdc3606 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -2402,7 +2402,7 @@
/* Update the beacon template and send to FW */
if (sch_set_fixed_beacon_fields(mac_ctx, session) != QDF_STATUS_SUCCESS) {
pe_err("Unable to set BSS color change IE in beacon");
- return;
+ return;
}
/* Send update beacon template message */
diff --git a/core/sap/src/sap_ch_select.c b/core/sap/src/sap_ch_select.c
index 2893011..b6bba1e 100644
--- a/core/sap/src/sap_ch_select.c
+++ b/core/sap/src/sap_ch_select.c
@@ -1048,7 +1048,7 @@
ch_num2 <= SIR_11B_CHANNEL_END) ||
(ch_num1 >= SIR_11A_CHANNEL_BEGIN &&
ch_num2 >= SIR_11A_CHANNEL_BEGIN))
- return true;
+ return true;
return false;
}
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c
index 170d16d..846d60c 100644
--- a/core/sme/src/csr/csr_api_scan.c
+++ b/core/sme/src/csr/csr_api_scan.c
@@ -2609,7 +2609,7 @@
SIR_FILS_IND_ELEM_OFFSET,
*(scan_entry->ie_list.fils_indication + 1),
&fils_indication, false);
- if (DOT11F_FAILED(ret)) {
+ if (DOT11F_FAILED(ret)) {
sme_err("unpack failed ret: 0x%x", ret);
return;
}
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index 7f37039..ac8b1ba 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -3102,7 +3102,7 @@
(params->restart_on_chan_switch == true)) {
wma->interfaces[req.vdev_id].is_channel_switch = true;
req.hidden_ssid = intr[vdev_id].vdev_restart_params.ssidHidden;
- }
+ }
if (params->restart_on_chan_switch == true &&
wma->interfaces[req.vdev_id].beacon_filter_enabled)
diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c
index f687b2e..1427abd 100644
--- a/core/wma/src/wma_utils.c
+++ b/core/wma/src/wma_utils.c
@@ -2453,7 +2453,7 @@
(WMA_DELETE_BSS_REQ != req_msg->msg_type)) {
WMA_LOGD(FL("cannot find DELETE_BSS request message"));
return;
- }
+ }
bcn_snr = vdev_stats->vdev_snr.bcn_snr;
dat_snr = vdev_stats->vdev_snr.dat_snr;
WMA_LOGD(FL("get vdev id %d, beancon snr %d, data snr %d"),
diff --git a/uapi/linux/osapi_linux.h b/uapi/linux/osapi_linux.h
index 4d520999..003a92c 100644
--- a/uapi/linux/osapi_linux.h
+++ b/uapi/linux/osapi_linux.h
@@ -115,10 +115,10 @@
#define wait_event_interruptible_timeout(wq, condition, timeout) \
({ \
- long __ret = timeout; \
- if (!(condition)) \
- __wait_event_interruptible_timeout(wq, condition, __ret); \
- __ret; \
+ long __ret = timeout; \
+ if (!(condition)) \
+ __wait_event_interruptible_timeout(wq, condition, __ret); \
+ __ret; \
})
#endif /* wait_event_interruptible_timeout */