mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Handle failure scenarios for NSS update request
Release the NSS update request from the serialization active command list in case the request fails. Change-Id: Id6bfee6f510132bacdc69773c8aba90be43aa813 CRs-Fixed: 2112932
This commit is contained in:
parent
c637fc91d7
commit
84c497b930
1 changed files with 3 additions and 4 deletions
|
|
@ -20489,13 +20489,12 @@ void csr_process_nss_update_req(tpAniSirGlobal mac, tSmeCmd *command)
|
|||
|
||||
if (!command) {
|
||||
sme_err("nss update param is NULL");
|
||||
return;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (!CSR_IS_SESSION_VALID(mac, command->sessionId)) {
|
||||
sme_err("Invalid session id %d",
|
||||
command->sessionId);
|
||||
return;
|
||||
sme_err("Invalid session id %d", command->sessionId);
|
||||
goto fail;
|
||||
}
|
||||
session = CSR_GET_SESSION(mac, command->sessionId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue