From 3a354425308e18b25c0f58c3676396b54a94de90 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 23 Aug 2010 21:01:08 +0000 Subject: [PATCH] don't include private headers --- CocoaTouch/src/BTstackManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CocoaTouch/src/BTstackManager.m b/CocoaTouch/src/BTstackManager.m index 64eb66175..75d415606 100644 --- a/CocoaTouch/src/BTstackManager.m +++ b/CocoaTouch/src/BTstackManager.m @@ -33,7 +33,6 @@ #import #import -#import "../../RFCOMM/rfcomm.h" #define INQUIRY_INTERVAL 3 @@ -514,6 +513,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe if (deviceDict){ linkKey = [deviceDict objectForKey:PREFS_LINK_KEY]; } + if (linkKey) { // NSLog(@"Sending link key for %@, value %@", devAddress, linkKey); bt_send_cmd(&hci_link_key_request_reply, &event_addr, [linkKey bytes]);