[9610][7872][7885] wlbt : Fixing prevent issues
authorHimani Gupta <himani.g2@samsung.com>
Thu, 12 Oct 2017 07:46:00 +0000 (13:16 +0530)
committerTarun Karela <t.karela@samsung.com>
Mon, 4 Jun 2018 09:40:47 +0000 (10:40 +0100)
Each member variable was not initialized in construtor.
SCSC-Bug-Id:SSB-33212

Change-Id: Ib7514f1afdcb3bf24d3411257894d7863696e66d
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
wifi_hal.cpp

index 937a6e0f1ce2d6630c362a72b281aa9ddad6948e..7a79286b7831c9e8446a737dd57f71405f4ee331 100755 (executable)
@@ -526,6 +526,10 @@ public:
         : WifiCommand(handle, 0)
     {
         mOui = scan_oui;
+       fset = NULL;
+       feature_matrix = NULL;
+       fm_size = NULL;
+       set_size_max = 0;
     }
 
     int createRequest(WifiRequest& request, int subcmd, byte *scan_oui) {