commit | acace07f428a809baa0913e2abbfe1a4f639f14e | [log] [tgz] |
---|---|---|
author | Paul Chen <[email protected]> | Fri Jun 21 22:11:22 2024 +0800 |
committer | Paul Chen <[email protected]> | Wed Jun 26 01:46:54 2024 +0000 |
tree | ef7df121560b90f4fc0c5f8d72da58fe3830f779 | |
parent | de907d0b576973fc125e14e1d695e5cf2c0d1456 [diff] |
HAL: Fix link condition check for 3 link connection Bug: 347081604 Test: Basic function test Change-Id: I780fe516468ef38189393c26b1742c905a89b872 Merged-In: I55046913be45cef7b9e8d296486988f55d943a90
diff --git a/bcmdhd/wifi_hal/link_layer_stats.cpp b/bcmdhd/wifi_hal/link_layer_stats.cpp index c17b3b8..adcb18c 100644 --- a/bcmdhd/wifi_hal/link_layer_stats.cpp +++ b/bcmdhd/wifi_hal/link_layer_stats.cpp
@@ -223,7 +223,7 @@ num_links = iface_ml_stat_ptr->num_links; all_links_stat_size = (num_links * offsetof(wifi_link_stat, peer_info)); - if (num_links >= MAX_MLO_LINK) { + if (num_links > MAX_MLO_LINK) { ALOGE("Invalid num links :%d\n", num_links); goto exit; }