[APR-2053]wlbt: Prevent issue
authorJaya Prakash Sangaru <j.sangaru@samsung.com>
Mon, 23 Sep 2019 10:03:47 +0000 (15:33 +0530)
committerrobot <robot@samsung.com>
Mon, 7 Oct 2019 05:03:39 +0000 (14:03 +0900)
Fix prevent issue "NOT initialized"

Change-Id: I52796020208ab06f14bd8e89c034f9e8bf12b029
SCSC-Bug-Id: HOST-10992
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
wifi_nan_data_path.cpp

index ada5f26f30f690ec8cde1ccce88e24108c839bfe..de4686a607316867b278268d2c9f3ae90cb85ee1 100755 (executable)
@@ -298,6 +298,8 @@ NanDataCommand::NanDataCommand() {
     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) {