|
@@ -15238,6 +15238,7 @@ QDF_STATUS csr_send_mb_set_context_req_msg(tpAniSirGlobal pMac,
|
|
|
uint8_t *pKeyRsc)
|
|
|
{
|
|
|
tSirSmeSetContextReq *pMsg;
|
|
|
+ struct scheduler_msg msg = {0};
|
|
|
uint16_t msgLen;
|
|
|
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
|
|
tCsrRoamSession *pSession = CSR_GET_SESSION(pMac, sessionId);
|
|
@@ -15289,7 +15290,12 @@ QDF_STATUS csr_send_mb_set_context_req_msg(tpAniSirGlobal pMac,
|
|
|
if (keyLength && pKey)
|
|
|
qdf_mem_copy(pMsg->keyMaterial.key[0].key,
|
|
|
pKey, keyLength);
|
|
|
- status = umac_send_mb_message_to_mac(pMsg);
|
|
|
+
|
|
|
+ msg.type = eWNI_SME_SETCONTEXT_REQ;
|
|
|
+ msg.bodyptr = pMsg;
|
|
|
+ status = scheduler_post_msg_by_priority(QDF_MODULE_ID_PE, &msg, true);
|
|
|
+ if (QDF_IS_STATUS_ERROR(status))
|
|
|
+ qdf_mem_free(pMsg);
|
|
|
} while (0);
|
|
|
return status;
|
|
|
}
|