mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-11 18:40:22 +00:00
gatt_client: remove unneeded check
This commit is contained in:
parent
109c2548f0
commit
233ee2ed4e
@ -1407,7 +1407,6 @@ static void gatt_client_run(void){
|
||||
}
|
||||
|
||||
// handle GATT over BR/EDR
|
||||
if (gatt_client->l2cap_psm != 0){
|
||||
if (l2cap_can_send_packet_now(gatt_client->l2cap_cid) == false){
|
||||
l2cap_request_can_send_now_event(gatt_client->l2cap_cid);
|
||||
return;
|
||||
@ -1422,7 +1421,6 @@ static void gatt_client_run(void){
|
||||
btstack_linked_list_add_tail(&gatt_client_connections, (btstack_linked_item_t *) gatt_client);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user