Skip to content

Commit 1cf82a9

Browse files
committed
drivers/cc3100: Make wlan.c closer to TI original file.
1 parent 5ca1f5f commit 1cf82a9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

drivers/cc3100/src/wlan.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
/*****************************************************************************/
4040
/* Include files */
4141
/*****************************************************************************/
42-
#include <string.h>
4342
#include "simplelink.h"
4443
#include "protocol.h"
4544
#include "driver.h"
@@ -76,9 +75,7 @@ _i16 sl_WlanConnect(_i8* pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t* pSe
7675
_SlWlanConnectMsg_u Msg;
7776
_SlCmdCtrl_t CmdCtrl;
7877

79-
// Clear the above structures
80-
memset (&Msg, 0, sizeof(Msg));
81-
memset (&CmdCtrl, 0, sizeof(CmdCtrl));
78+
sl_Memset (&Msg, 0, sizeof(Msg));
8279

8380
CmdCtrl.TxDescLen = 0;/* init */
8481
CmdCtrl.RxDescLen = sizeof(_BasicResponse_t);

0 commit comments

Comments
 (0)