Skip to content

Commit 46e208b

Browse files
committed
fix(wifi): Fix wifi tx error issue
wifi tx buffer should not be in iRAM. internal: 61bf6590
1 parent db4e3d8 commit 46e208b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gwen:
1313
gitlab:
1414
espconn: 3a998034
1515
freertos: ac047746
16-
lwip: 94e6ac0e
16+
lwip: bfdb6ec2
1717
driver: 7bee5263
1818
mbedtls: 1ac9f1f4
1919
ssl: eefb383a

lib/liblwip.a

72 Bytes
Binary file not shown.

third_party/lwip/core/pbuf.c

+5
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,11 @@ pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
392392
/* set flags */
393393
p->flags = 0;
394394
LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F") == %p\n", length, (void *)p));
395+
396+
if ((int)p > 0x40000000) {
397+
pbuf_free(p);
398+
p = NULL;
399+
}
395400
return p;
396401
}
397402

0 commit comments

Comments
 (0)