From a69d0e87ead334f5a3ab1046a29fca7306334770 Mon Sep 17 00:00:00 2001 From: Jaya Prakash Sangaru Date: Mon, 23 Sep 2019 15:33:47 +0530 Subject: [PATCH] [APR-2053]wlbt: Prevent issue Fix prevent issue "NOT initialized" Change-Id: I52796020208ab06f14bd8e89c034f9e8bf12b029 SCSC-Bug-Id: HOST-10992 Signed-off-by: Jaya Prakash Sangaru --- wifi_nan_data_path.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 @@ 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) { -- 2.20.1