From 79932494dff219e34d064fb68019a41463e70d45 Mon Sep 17 00:00:00 2001 From: Abhishek Ambure Date: Thu, 10 Oct 2019 11:25:03 +0530 Subject: [PATCH] qcacld-3.0: Refactor SME code to check connection state IBSS code is protected by "QCA_IBSS_SUPPORT" feature flag, at SME layer CSR API checks the connection state. For IBSS disable, these SME APIs to check connection state must return flase. Change-Id: I1bcd20a07d484cea2769c5b3171d805c8b82b308 CRs-Fixed: 2542724 --- core/sme/inc/csr_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h index 0d48946565..dbca76dec6 100644 --- a/core/sme/inc/csr_internal.h +++ b/core/sme/inc/csr_internal.h @@ -899,20 +899,20 @@ bool csr_is_conn_state_disconnected_ibss(struct mac_context *mac, static inline bool csr_is_conn_state_ibss(struct mac_context *mac, uint32_t sessionId) { - return true; + return false; } static inline bool csr_is_conn_state_connected_ibss(struct mac_context *mac, uint32_t sessionId) { - return true; + return false; } static inline bool csr_is_conn_state_disconnected_ibss(struct mac_context *mac, uint32_t sessionId) { - return true; + return false; } #endif