Initialize variables in APF code
Change-Id: Ifbbc1cf2f17a10d3a0625fee967c614cd01d1388
SCSC-Bug-Id: HOST-10860
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
class AndroidPktFilterCommand : public WifiCommand {
private:
- const u8* mProgram;
- u32 mProgramLen;
- u32* mVersion;
+ const u8* mProgram = NULL;
+ u32 mProgramLen = 0;
+ u32* mVersion = NULL;
u32* mMaxLen = 0;
- u32 mSourceOffset;
- u8 *mHostDestination;
+ u32 mSourceOffset = 0;
+ u8 *mHostDestination = NULL;
u32 mLength = 0;
- int mReqType;
+ int mReqType = 0;
public:
AndroidPktFilterCommand(wifi_interface_handle handle,
u32* version, u32* max_len)