Skip to content

Commit f459b10

Browse files
authored
Fix issue with WPA/WPA2 when tweaking WiFi configuration
WPA/WPA2 demands at least 1 TX Cache Buffer. issue described in #5474 (comment)
1 parent 77f1ebd commit f459b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ bool wifiLowLevelInit(bool persistent){
564564
cfg.static_tx_buf_num = 0;
565565
cfg.dynamic_tx_buf_num = 32;
566566
cfg.tx_buf_type = 1;
567-
cfg.cache_tx_buf_num = 0;
567+
cfg.cache_tx_buf_num = 1; // it can't be zero for WPA/WPA2
568568
cfg.static_rx_buf_num = 4;
569569
cfg.dynamic_rx_buf_num = 32;
570570
#endif

0 commit comments

Comments
 (0)