mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacld-3.0: Reject Invalid RSN IE Assoc Request
If SAP configured with RSN security IE, peer should include compatible RSN parameters. Reject the Assoc request if peer include invalid RSN IE. Change-Id: I10083d7feb669fe5d1c2650ae3c3092e5b28169e CRs-Fixed: 2294876
This commit is contained in:
parent
c58612a792
commit
433a8dbfad
1 changed files with 6 additions and 0 deletions
|
|
@ -860,6 +860,9 @@ static bool lim_check_wpa_rsn_ie(tpPESession session, tpAniSirGlobal mac_ctx,
|
|||
&dot11f_ie_rsn, false);
|
||||
if (!DOT11F_SUCCEEDED(ret)) {
|
||||
pe_err("Invalid RSN IE");
|
||||
lim_send_assoc_rsp_mgmt_frame(
|
||||
mac_ctx, eSIR_MAC_INVALID_IE_STATUS, 1,
|
||||
hdr->sa, sub_type, 0, session);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -912,6 +915,9 @@ static bool lim_check_wpa_rsn_ie(tpPESession session, tpAniSirGlobal mac_ctx,
|
|||
&dot11f_ie_wpa, false);
|
||||
if (!DOT11F_SUCCEEDED(ret)) {
|
||||
pe_err("Invalid WPA IE");
|
||||
lim_send_assoc_rsp_mgmt_frame(
|
||||
mac_ctx, eSIR_MAC_INVALID_IE_STATUS, 1,
|
||||
hdr->sa, sub_type, 0, session);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue