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 195d066018b2..b8765153d373 100644
--- a/core/hdd/src/wlan_hdd_memdump.c
+++ b/core/hdd/src/wlan_hdd_memdump.c
@@ -242,6 +242,8 @@ static int __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);