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:
parent
e9d049901a
commit
79932494df
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user