File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353//*****************************************************************************
5454// Local Constants
5555//*****************************************************************************
56- #define SL_STOP_TIMEOUT 500
56+ #define SL_STOP_TIMEOUT 250
5757#define BOOTMGR_HASH_ALGO SHAMD5_ALGO_MD5
5858#define BOOTMGR_HASH_SIZE 32
5959#define BOOTMGR_BUFF_SIZE 512
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ typedef struct _wlan_obj_t {
130130#define ASSERT_ON_ERROR ( x ) ASSERT((x) >= 0 )
131131
132132#define IPV4_ADDR_STR_LEN_MAX (16)
133- #define SL_STOP_TIMEOUT 500
133+ #define SL_STOP_TIMEOUT 250
134134
135135#define WLAN_MAX_RX_SIZE 16000
136136
@@ -501,7 +501,7 @@ void wlan_sl_disable (void) {
501501 xSemaphoreTake (xWlanSemaphore , portMAX_DELAY );
502502 #endif
503503 wlan_obj .mode = -1 ;
504- ASSERT_ON_ERROR ( sl_Stop (SL_STOP_TIMEOUT ) );
504+ sl_Stop (SL_STOP_TIMEOUT );
505505 }
506506}
507507
@@ -551,7 +551,7 @@ STATIC void wlan_reenable (SlWlanMode_t mode) {
551551#ifdef USE_FREERTOS
552552 xSemaphoreTake (xWlanSemaphore , portMAX_DELAY );
553553#endif
554- ASSERT_ON_ERROR ( sl_Stop (SL_STOP_TIMEOUT ) );
554+ sl_Stop (SL_STOP_TIMEOUT );
555555 wlan_obj .mode = sl_Start (0 , 0 , 0 );
556556#ifdef USE_FREERTOS
557557 xSemaphoreGive (xWlanSemaphore );
You can’t perform that action at this time.
0 commit comments