components/bt: Fix the different size of name buffer allocation size(backport 3.1)
A cherry-pick of MR !3587 Close https://github.com/espressif/esp-idf/issues/2615
This commit is contained in:
parent
3f64b39ad5
commit
7a05ef2002
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ typedef struct {
|
|||
list_t *list;
|
||||
list_t *incoming_list;
|
||||
uint8_t service_uuid[16];
|
||||
char service_name[ESP_SPP_SERVER_NAME_MAX];
|
||||
char service_name[ESP_SPP_SERVER_NAME_MAX + 1];
|
||||
} spp_slot_t;
|
||||
|
||||
static struct spp_local_param_t {
|
||||
|
|
Loading…
Reference in a new issue