|
@@ -1935,7 +1935,7 @@ void lim_process_assoc_req_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
|
|
if (!wlan_get_vendor_ie_ptr_from_oui(
|
|
|
&session->access_policy_vendor_ie[2],
|
|
|
3, frm_body + LIM_ASSOC_REQ_IE_OFFSET,
|
|
|
- frame_len)) {
|
|
|
+ frame_len - LIM_ASSOC_REQ_IE_OFFSET)) {
|
|
|
pe_err("Vendor ie not present and access policy is %x, Rejected association",
|
|
|
session->access_policy);
|
|
|
lim_send_assoc_rsp_mgmt_frame(mac_ctx,
|