From 3dbb95f9bd4cb918441bb436c4691f710fba0667 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 25 Jul 2011 18:48:51 +0000 Subject: [PATCH] handle mem alloc failure on incoming hci connection, reject sco conections --- src/hci.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hci.h b/src/hci.h index 87ee3067d..e645aac57 100644 --- a/src/hci.h +++ b/src/hci.h @@ -247,6 +247,10 @@ typedef struct { /* */ uint8_t discoverable; + + // buffer for single connection decline + uint8_t decline_reason; + bd_addr_t decline_addr; } hci_stack_t;