Prima: Add Support for firmware memory dump
Common API for fw mem dump request cfg80211 and wext(ioctl)
WLAN HAL API changes
Creation of procfs and reading through it
Simple state machine to synchronize fw dump writes and reads
Change-Id: Ifdf90e77b8d9011f664d3f776207069e11038a7e
CRs-Fixed: 916853
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 9c4f047..06be08b 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -2040,6 +2040,9 @@
vos_sched_flush_rx_mqs(vosSchedContext);
#ifdef WLAN_LOGGING_SOCK_SVC_ENABLE
wlan_logging_flush_pkt_queue();
+ /*Free fw dump mem in case of SSR/Shutdown */
+ wlan_set_fwr_mem_dump_state(FW_MEM_DUMP_IDLE);
+ wlan_free_fwr_mem_dump_buffer();
#endif
/* Deinit all the TX and MC queues */