Fix wifi SSID length to 33 since the maximum chars for SSID is 32 but the string is null terminated so array size must be 33
This commit is contained in:
parent
503e66a500
commit
608f56ebf4
4 changed files with 6 additions and 6 deletions
|
@ -210,7 +210,7 @@ struct sdk_g_ic_volatile_st {
|
|||
|
||||
struct sdk_g_ic_ssid_with_length {
|
||||
uint32_t ssid_length; // 0x1e4 sdk_wpa_config_profile
|
||||
uint8_t ssid[32]; // 0x1e8 Station ssid. Null terminated string.
|
||||
uint8_t ssid[33]; // 0x1e8 Station ssid. Null terminated string.
|
||||
};
|
||||
|
||||
// This is the portion of g_ic which is loaded/saved to the flash ROM, and thus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue