mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Move sme_is_conn_state_connected outside ifdef
sme_is_conn_state_connected API is incorrectly places inside FEATURE_BSS_TRANSITION ifdef causing compilation failure if the flag FEATURE_BSS_TRANSITION is disabled. Move sme_is_conn_state_connected outside of FEATURE_BSS_TRANSITION. Change-Id: I3563d1e24f48990b0e16919a5ddaa9ed71bd53ac CRs-Fixed: 2325332
This commit is contained in:
parent
d001f985d2
commit
79f7e3f682
1 changed files with 7 additions and 7 deletions
|
|
@ -15990,13 +15990,6 @@ static bool sme_get_status_for_candidate(tHalHandle hal,
|
|||
return false;
|
||||
}
|
||||
|
||||
bool sme_is_conn_state_connected(mac_handle_t hal, uint8_t session_id)
|
||||
{
|
||||
tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal);
|
||||
|
||||
return csr_is_conn_state_connected(mac_ctx, session_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* wlan_hdd_get_bss_transition_status() - get bss transition status all cadidates
|
||||
* @adapter : Pointer to adapter
|
||||
|
|
@ -16080,6 +16073,13 @@ free:
|
|||
}
|
||||
#endif /* FEATURE_BSS_TRANSITION */
|
||||
|
||||
bool sme_is_conn_state_connected(mac_handle_t hal, uint8_t session_id)
|
||||
{
|
||||
tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal);
|
||||
|
||||
return csr_is_conn_state_connected(mac_ctx, session_id);
|
||||
}
|
||||
|
||||
void sme_enable_roaming_on_connected_sta(tHalHandle hal)
|
||||
{
|
||||
uint8_t session_id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue