summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/src/wlan_hdd_napi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_napi.c b/core/hdd/src/wlan_hdd_napi.c
index f616a5be3abd..b2848e7e8382 100644
--- a/core/hdd/src/wlan_hdd_napi.c
+++ b/core/hdd/src/wlan_hdd_napi.c
@@ -483,7 +483,7 @@ int hdd_display_napi_stats(void)
if (!napii)
continue;
- for (j = 0; j < NR_CPUS; j++) {
+ for (j = 0; j < num_possible_cpus(); j++) {
napis = &(napii->stats[j]);
n = 0;
max = sizeof(buf);