qcacld-3.0: Fix build errors generated by gcc 6
Gcc 6 introduces some stricter checking for indentation,
causing warnings of misleading-indentation, which are
treated as build errors when drivers are compiled.
Fix all the identation warnings under qcacld-3.0.
Change-Id: Ie197761cfe4334ab14d593adebc56375372ba37c
CRs-Fixed: 2058158
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index 3fe0b40..e5d6cd3 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -2731,23 +2731,23 @@
ret_code = eSIR_SME_STA_NOT_AUTHENTICATED;
deauth_trigger = eLIM_HOST_DEAUTH;
- /*
- * here we received deauth request from AP so sme state
- * is eLIM_SME_WT_DEAUTH_STATE.if we have ISSUED
- * delSta then mlm state should be
- * eLIM_MLM_WT_DEL_STA_RSP_STATE and ifwe got delBSS
- * rsp then mlm state should be eLIM_MLM_IDLE_STATE
- * so the below condition captures the state where
- * delSta not done and firmware still in
- * connected state.
- */
- if (session_entry->limSmeState ==
+ /*
+ * here we received deauth request from AP so
+ * sme state is eLIM_SME_WT_DEAUTH_STATE.if we
+ * have ISSUED delSta then mlm state should be
+ * eLIM_MLM_WT_DEL_STA_RSP_STATE and ifwe got
+ * delBSS rsp then mlm state should be
+ * eLIM_MLM_IDLE_STATE so the below condition
+ * captures the state where delSta not done
+ * and firmware still in connected state.
+ */
+ if (session_entry->limSmeState ==
eLIM_SME_WT_DEAUTH_STATE &&
session_entry->limMlmState !=
eLIM_MLM_IDLE_STATE &&
session_entry->limMlmState !=
eLIM_MLM_WT_DEL_STA_RSP_STATE)
- ret_code = eSIR_SME_DEAUTH_STATUS;
+ ret_code = eSIR_SME_DEAUTH_STATUS;
goto send_deauth;
}
return;