mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
goep_server: assert outgoing packet was reserved in execute
This commit is contained in:
parent
223b1d643e
commit
9988a575e3
@ -675,6 +675,8 @@ uint8_t goep_server_execute(uint16_t goep_cid, uint8_t response_code){
|
||||
return ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER;
|
||||
}
|
||||
|
||||
btstack_assert(connection->state == GOEP_SERVER_CONNECTED);
|
||||
|
||||
connection->state = GOEP_SERVER_CONNECTED;
|
||||
|
||||
uint8_t * buffer = goep_server_get_outgoing_buffer(connection);
|
||||
|
Loading…
x
Reference in New Issue
Block a user