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
This commit is contained in:

committed by
nshrivas

parent
e9d049901a
commit
79932494df
@@ -899,20 +899,20 @@ bool csr_is_conn_state_disconnected_ibss(struct mac_context *mac,
|
|||||||
static inline bool
|
static inline bool
|
||||||
csr_is_conn_state_ibss(struct mac_context *mac, uint32_t sessionId)
|
csr_is_conn_state_ibss(struct mac_context *mac, uint32_t sessionId)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
csr_is_conn_state_connected_ibss(struct mac_context *mac, uint32_t sessionId)
|
csr_is_conn_state_connected_ibss(struct mac_context *mac, uint32_t sessionId)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
csr_is_conn_state_disconnected_ibss(struct mac_context *mac,
|
csr_is_conn_state_disconnected_ibss(struct mac_context *mac,
|
||||||
uint32_t sessionId)
|
uint32_t sessionId)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user