|
@@ -535,7 +535,7 @@ uint8_t mlo_glb_h_shmem_arena_get_no_of_chips_from_crash_info(uint8_t grp_id)
|
|
{
|
|
{
|
|
struct wlan_host_mlo_glb_h_shmem_arena_ctx *shmem_arena_ctx;
|
|
struct wlan_host_mlo_glb_h_shmem_arena_ctx *shmem_arena_ctx;
|
|
|
|
|
|
- if (grp_id > WLAN_MAX_MLO_GROUPS)
|
|
|
|
|
|
+ if (grp_id >= WLAN_MAX_MLO_GROUPS)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
shmem_arena_ctx = get_shmem_arena_ctx(grp_id);
|
|
shmem_arena_ctx = get_shmem_arena_ctx(grp_id);
|