Merge "qcacld-3.0: Handle failure scenarios for NSS update request" into wlan-cld3.driver.lnx.2.0-dev

This commit is contained in:
CNSS_WLAN Service 2017-10-17 12:53:58 -07:00 • committed by Gerrit - the friendly Code Review server
commit 0e0570dd7e

View file

@ -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);