From 1604205355a615a5ed3109d788ccfb689b9d4f8a Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Sat, 4 Jan 2014 21:00:39 +0000 Subject: [PATCH] also unload BTServer.le --- src/bt_control_iphone.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bt_control_iphone.m b/src/bt_control_iphone.m index 7614462e1..4d3f17e96 100644 --- a/src/bt_control_iphone.m +++ b/src/bt_control_iphone.m @@ -494,6 +494,7 @@ static int iphone_on (void *transport_config){ err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BTServer.plist"); if (iphone_os_at_least_60()) { + err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BTServer.le.plist"); err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BlueTool.plist"); } @@ -604,6 +605,7 @@ static int iphone_off (void *config){ if (iphone_os_at_least_60()) { log_info("iphone_off: reload BlueTool\n"); system ("launchctl load /System/Library/LaunchDaemons/com.apple.BlueTool.plist"); + system ("launchctl load /System/Library/LaunchDaemons/com.apple.BTServer.le.plist"); log_info("iphone_off: done\n"); }