qcacld-3.0: fix the wep unicast data transfer fail issue
The WEP security also use the open mode(key_mgmt is NONE), but it will return directly if it is unicast and missed to call csr_roam_issue_set_context_req() and then make the WEP unicast data transfer fail. So change to call csr_roam_issue_set_context_req() in this case. Change-Id: I7f81bc2975ac61d6bfe80af27eb38eb783cae8e9 CRs-Fixed: 2826978
This commit is contained in:
@@ -10736,10 +10736,8 @@ csr_issue_set_context_req_helper(struct mac_context *mac_ctx,
|
|||||||
* send OBSS scan and QOS event.
|
* send OBSS scan and QOS event.
|
||||||
*/
|
*/
|
||||||
if (profile &&
|
if (profile &&
|
||||||
profile->negotiatedUCEncryptionType == eCSR_ENCRYPT_TYPE_NONE) {
|
profile->negotiatedUCEncryptionType == eCSR_ENCRYPT_TYPE_NONE &&
|
||||||
if (unicast)
|
!unicast) {
|
||||||
return QDF_STATUS_SUCCESS;
|
|
||||||
|
|
||||||
install_key_rsp.length = sizeof(install_key_rsp);
|
install_key_rsp.length = sizeof(install_key_rsp);
|
||||||
install_key_rsp.status_code = eSIR_SME_SUCCESS;
|
install_key_rsp.status_code = eSIR_SME_SUCCESS;
|
||||||
install_key_rsp.sessionId = session_id;
|
install_key_rsp.sessionId = session_id;
|
||||||
|
Reference in New Issue
Block a user