mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
qcacld-3.0: Send the del sta session command with low priority
When the userspace disconnect is issued, as a part of wlan exit, HDD sent below commands to sme: 1) Disconnect Req (DelBSS /Del Sta) 2) Close Session ( DelSelfSta ) in the following path: hdd_stop_adapter() -> hdd_stop_adapter_ext() -> hdd_vdev_destroy -> sme_close_session() -> csr_roam_close_session. e_sme_command_del_sta_session is sent from csr_roam_close_session with high priority. This causes vdev delete to be sent before peer delete . As HDD has already freed all the commands in csr_roam_close_session, now sme should process the cmd only in the pending queue order. Hence we should not send DEL_SELF_STA as high priority cmd. Send the e_sme_command_del_sta_session with normal priority. Change-Id: Ic874ca792f84235c70b8257a232c02f0bd050618 CRs-Fixed: 2328462
This commit is contained in:
parent
31ea671970
commit
fffde56f75
1 changed files with 1 additions and 1 deletions
|
|
@ -17371,7 +17371,7 @@ csr_issue_del_sta_for_session_req(tpAniSirGlobal mac_ctx, uint32_t session_id,
|
|||
sme_command->u.delStaSessionCmd.context = context;
|
||||
qdf_mem_copy(sme_command->u.delStaSessionCmd.selfMacAddr,
|
||||
session_mac_addr, sizeof(tSirMacAddr));
|
||||
status = csr_queue_sme_command(mac_ctx, sme_command, true);
|
||||
status = csr_queue_sme_command(mac_ctx, sme_command, false);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
sme_err("fail to send message status = %d", status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue