From 3f3e5fbae4e19f8d09d9ed8b89becea4b2d042b3 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Thu, 3 Apr 2014 15:19:37 +0000 Subject: [PATCH] delete accidentally added code --- ble/l2cap_le.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ble/l2cap_le.c b/ble/l2cap_le.c index 3f23c25bd..f92ca6988 100644 --- a/ble/l2cap_le.c +++ b/ble/l2cap_le.c @@ -86,20 +86,6 @@ int l2cap_reserve_packet_buffer(void){ return hci_reserve_packet_buffer(); } -int l2cap_can_send_packet_now(uint16_t local_cid){ - l2cap_channel_t *channel = l2cap_get_channel_for_local_cid(local_cid); - if (!channel) return 0; - if (!channel->packets_granted) return 0; - return hci_can_send_packet_now(HCI_ACL_DATA_PACKET); -} - -int l2cap_can_send_packet_now_using_buffer(uint16_t local_cid){ - l2cap_channel_t *channel = l2cap_get_channel_for_local_cid(local_cid); - if (!channel) return 0; - if (!channel->packets_granted) return 0; - return hci_can_send_packet_now_using_packet_buffer(HCI_ACL_DATA_PACKET); -} - int l2cap_send_prepared_connectionless(uint16_t handle, uint16_t cid, uint16_t len){ if (!hci_can_send_packet_now(HCI_ACL_DATA_PACKET)){