[APR-2053]wlbt: Prevent issue
Fix prevent issue "NOT initialized"
Change-Id: I52796020208ab06f14bd8e89c034f9e8bf12b029
SCSC-Bug-Id: HOST-10992
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
diff --git a/wifi_nan_data_path.cpp b/wifi_nan_data_path.cpp
index ada5f26..de4686a 100755
--- a/wifi_nan_data_path.cpp
+++ b/wifi_nan_data_path.cpp
@@ -298,6 +298,8 @@
memset(m_ifaceName, 0, sizeof(m_ifaceName));
m_ndp_count = 0;
m_data_iface_count = 0;
+ m_max_ndp_sessions = 0;
+ memset(transaction_id, 0, sizeof(transaction_id));
}
int NanDataCommand::getDataPathNLMsg(void *data, int subcmd, WifiRequest &request) {