mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avdtp_acceptor: reject suspend in state endpoint open
This commit is contained in:
parent
096e646974
commit
84ad4212a9
@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
- HID Host: support large HID Descriptors
|
- HID Host: support large HID Descriptors
|
||||||
- AVDTP: limit L2CAP MTU to largest BR/EDR packet, fixes A2DP Sink role for some Samsung TV
|
- AVDTP: limit L2CAP MTU to largest BR/EDR packet, fixes A2DP Sink role for some Samsung TV
|
||||||
- AVDTP: fix Get Stream Configuration
|
- AVDTP: fix Get Stream Configuration
|
||||||
|
- AVDTP: reject suspend in state endpoint open
|
||||||
- AVRCP: reject incoming second l2cap connection
|
- AVRCP: reject incoming second l2cap connection
|
||||||
- AVRCP: generate command for avrcp_controller_get_element_attributes dynamically
|
- AVRCP: generate command for avrcp_controller_get_element_attributes dynamically
|
||||||
- SPP Server: fix SPP version in SDP record
|
- SPP Server: fix SPP version in SDP record
|
||||||
|
@ -432,7 +432,6 @@ void avdtp_acceptor_stream_config_subsm(avdtp_connection_t *connection, uint8_t
|
|||||||
break;
|
break;
|
||||||
case AVDTP_SI_SUSPEND:
|
case AVDTP_SI_SUSPEND:
|
||||||
switch (stream_endpoint->state){
|
switch (stream_endpoint->state){
|
||||||
case AVDTP_STREAM_ENDPOINT_OPENED:
|
|
||||||
case AVDTP_STREAM_ENDPOINT_STREAMING:
|
case AVDTP_STREAM_ENDPOINT_STREAMING:
|
||||||
stream_endpoint->state = AVDTP_STREAM_ENDPOINT_OPENED;
|
stream_endpoint->state = AVDTP_STREAM_ENDPOINT_OPENED;
|
||||||
connection->num_suspended_seids--;
|
connection->num_suspended_seids--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user