From: Jaya Prakash Sangaru Date: Mon, 23 Sep 2019 10:03:47 +0000 (+0530) Subject: wlbt: Prevent issue X-Git-Tag: MMI-RSA31.Q1-48-36-11~6^2^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e69c030c9460281b6c49e10efcdd079ec8400f6a;p=GitHub%2FMotorolaMobilityLLC%2Fhardware-samsung_slsi-scsc_wifibt-wifi_hal.git wlbt: Prevent issue Fix prevent issue "NOT initialized" Change-Id: I52796020208ab06f14bd8e89c034f9e8bf12b029 SCSC-Bug-Id: HOST-10992 Signed-off-by: Jaya Prakash Sangaru --- 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) {