int mBuffSize;\r
char *mBuff;\r
GetCmdType mType;\r
- \r
+\r
public:\r
MemoryDumpCommand(wifi_interface_handle iface, wifi_firmware_memory_dump_handler handler, GetCmdType cmdtype )\r
: WifiCommand(iface, 0), mHandler(handler), mBuffSize(0), mBuff(NULL), mType(cmdtype)\r
- { \r
- memset(&mHandler,0,sizeof(wifi_firmware_memory_dump_handler));\r
- }\r
+ {\r
+ memset(&mcallback, 0, sizeof(wifi_driver_memory_dump_callbacks));\r
+ }\r
\r
MemoryDumpCommand(wifi_interface_handle iface, wifi_driver_memory_dump_callbacks callback, GetCmdType cmdtype)\r
: WifiCommand(iface, 0), mcallback(callback), mBuffSize(0), mBuff(NULL), mType(cmdtype)\r
{\r
- memset(&mcallback,0,sizeof(wifi_driver_memory_dump_callbacks));\r
- }\r
+ memset(&mHandler, 0, sizeof(wifi_firmware_memory_dump_handler));\r
+ }\r
\r
int createRequest(WifiRequest &request) {\r
int result;\r