summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/HDD/src/wlan_hdd_memdump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_memdump.c b/CORE/HDD/src/wlan_hdd_memdump.c
index b8366191a976..44331071aaeb 100644
--- a/CORE/HDD/src/wlan_hdd_memdump.c
+++ b/CORE/HDD/src/wlan_hdd_memdump.c
@@ -241,6 +241,8 @@ __wlan_hdd_cfg80211_get_fw_mem_dump(struct wiphy *wiphy,
return -ENOMEM;
}
hdd_ctx->dump_loc_paddr = paddr;
+ } else {
+ paddr = hdd_ctx->dump_loc_paddr;
}
mutex_unlock(&hdd_ctx->memdump_lock);