drivers/cc3100: Make wlan.c closer to TI original file.
This commit is contained in:
parent
5ca1f5f9d9
commit
1cf82a9800
@ -39,7 +39,6 @@
|
|||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Include files */
|
/* Include files */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
#include <string.h>
|
|
||||||
#include "simplelink.h"
|
#include "simplelink.h"
|
||||||
#include "protocol.h"
|
#include "protocol.h"
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
@ -76,9 +75,7 @@ _i16 sl_WlanConnect(_i8* pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t* pSe
|
|||||||
_SlWlanConnectMsg_u Msg;
|
_SlWlanConnectMsg_u Msg;
|
||||||
_SlCmdCtrl_t CmdCtrl;
|
_SlCmdCtrl_t CmdCtrl;
|
||||||
|
|
||||||
// Clear the above structures
|
sl_Memset (&Msg, 0, sizeof(Msg));
|
||||||
memset (&Msg, 0, sizeof(Msg));
|
|
||||||
memset (&CmdCtrl, 0, sizeof(CmdCtrl));
|
|
||||||
|
|
||||||
CmdCtrl.TxDescLen = 0;/* init */
|
CmdCtrl.TxDescLen = 0;/* init */
|
||||||
CmdCtrl.RxDescLen = sizeof(_BasicResponse_t);
|
CmdCtrl.RxDescLen = sizeof(_BasicResponse_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user