From f9877e5725dc4ed038fe47fccc9a60654c30bc65 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 18 Jun 2011 21:47:40 +0000 Subject: [PATCH] rfcomm outgoing credits are a must --- src/rfcomm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rfcomm.c b/src/rfcomm.c index 373f5e03f..1d73f67da 100644 --- a/src/rfcomm.c +++ b/src/rfcomm.c @@ -1312,7 +1312,7 @@ int rfcomm_send_internal(uint8_t rfcomm_cid, uint8_t *data, uint16_t len){ if (!channel->credits_outgoing){ log_dbg("rfcomm_send_internal cid %u, no rfcomm outgoing credits!\n", rfcomm_cid); - // return RFCOMM_NO_OUTGOING_CREDITS; + return RFCOMM_NO_OUTGOING_CREDITS; } if (!channel->packets_granted){