qcacld-3.0: Check link session Before populate MLO RNR IE
Mlo flag of vdev is set in wlan_hdd_cfg80211_start_bss context which happens before pe session creation, so we may get a mlo vdev but the pe session is not created. Check link session Before populate MLO RNR IE. Change-Id: I59da17bf1722c5a580c804ec8e6bf801aa510b0a CRs-Fixed: 3105243
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d011d59b12
commit
d1ad81958b
@@ -7543,7 +7543,13 @@ void populate_dot11f_mlo_rnr(struct mac_context *mac_ctx,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
link_session = pe_find_session_by_vdev_id(
|
link_session = pe_find_session_by_vdev_id(
|
||||||
mac_ctx, wlan_vdev_list[link]->vdev_objmgr.vdev_id);
|
mac_ctx, wlan_vdev_get_id(wlan_vdev_list[link]));
|
||||||
|
if (!link_session) {
|
||||||
|
pe_debug("vdev id %d pe session is not created",
|
||||||
|
wlan_vdev_get_id(wlan_vdev_list[link]));
|
||||||
|
lim_mlo_release_vdev_ref(wlan_vdev_list[link]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!rnr_populated) {
|
if (!rnr_populated) {
|
||||||
populate_dot11f_rnr_tbtt_info_10(mac_ctx, session,
|
populate_dot11f_rnr_tbtt_info_10(mac_ctx, session,
|
||||||
link_session, dot11f);
|
link_session, dot11f);
|
||||||
|
Reference in New Issue
Block a user