]> granicus.if.org Git - esp-idf/commit
esp32: fix random pkt cause esp32 watchdog
authorLiu Zhi Fu <liuzhifu@espressif.com>
Tue, 22 Nov 2016 03:46:10 +0000 (11:46 +0800)
committerLiu Zhi Fu <liuzhifu@espressif.com>
Tue, 22 Nov 2016 03:46:10 +0000 (11:46 +0800)
commit4bf0465dabddc24a98a409fa701212058aeaade5
treef5918c000f3c65b122b35d86aa8e26aa9bac72fd
parentd467eabadbc90aa0703d3e131e5751f9d09ebdf8
esp32: fix random pkt cause esp32 watchdog

This change fixes the ESP32 watchdog issue. When the MPDU of AMPDU is longer than 1600B,
esp32 will check whether the last 4B is DEADBEEF, if it's not DEADBEEF, it will assert
and the assert will cause esp32 watchdog. The solution is to init the last 4B to DEADBEEF
when malloc new ebuf for the packet longer than 1600B.
components/esp32/lib