From 09b3a72c0f601abfb29ba8414eb8ddf152acd77d Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 29 Mar 2010 20:07:50 +0000 Subject: [PATCH] fix disableSystemBluetoothBTstackManager: delegate call --- CocoaTouch/src/BTstackManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CocoaTouch/src/BTstackManager.m b/CocoaTouch/src/BTstackManager.m index 1fbd63835..00f4aa70b 100644 --- a/CocoaTouch/src/BTstackManager.m +++ b/CocoaTouch/src/BTstackManager.m @@ -277,8 +277,8 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe // system bt on - first time try to disable it if ( state == kW4SysBTState) { if (_delegate == nil - || ![_delegate respondsToSelector:@selector(disableSystemBluetoothBTstackManager)] - || [_delegate disableSystemBluetoothBTstackManager]){ + || ![_delegate respondsToSelector:@selector(disableSystemBluetoothBTstackManager:)] + || [_delegate disableSystemBluetoothBTstackManager:self]){ state = kW4SysBTDisabled; bt_send_cmd(&btstack_set_system_bluetooth_enabled, 0); } else {