Check if session or join req is null before accessing. Change-Id: I6fde6970d72e564b869c83134f1957f45016c31c CRs-Fixed: 3251024
@@ -3599,6 +3599,12 @@ lim_gen_link_specific_probe_rsp(struct mac_context *mac_ctx,
uint8_t op_class;
uint16_t chan_freq;
+ if (!session_entry)
+ return QDF_STATUS_E_NULL_VALUE;
+
+ if (!session_entry->lim_join_req)
+ return status;
if (session_entry->lim_join_req->is_ml_probe_req_sent &&
rcvd_probe_resp->mlo_ie.mlo_ie_present) {
@@ -165,7 +165,7 @@ lim_process_probe_rsp_frame(struct mac_context *mac_ctx, uint8_t *rx_Packet_info
mac_ctx->lim.bss_rssi);
if (QDF_IS_STATUS_ERROR(status)) {
- pe_debug("Link specific prb rsp generation failed");
+ pe_debug_rl("Link specific prb rsp generation failed");
goto end;
}