Send the correct event for PBAP disconnected 15/90915/1 accepted/tizen/common/20161005.165152 accepted/tizen/ivi/20161005.080620 accepted/tizen/mobile/20161005.080540 accepted/tizen/tv/20161005.080555 accepted/tizen/wearable/20161005.080604 submit/tizen/20161004.234550
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 5 Oct 2016 02:39:48 +0000 (11:39 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 5 Oct 2016 02:39:48 +0000 (11:39 +0900)
Change-Id: Ie4a108adafc8b0cb7f3c6296250e0fdcf4bfee17
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/bt-event-handler.c

index 665ee0a..7c3c09b 100644 (file)
@@ -2037,7 +2037,7 @@ void __bt_pbap_client_event_filter(GDBusConnection *connection,
                                                address);
                disconnected.connected = 0;
 
-               _bt_common_event_cb(BLUETOOTH_PBAP_CONNECTED,
+               _bt_common_event_cb(BLUETOOTH_PBAP_DISCONNECTED,
                                result, &disconnected,
                                event_info->cb, event_info->user_data);
        } else if (strcasecmp(signal_name, BT_PBAP_PHONEBOOK_SIZE) == 0) {