X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=net%2Fbluetooth%2Fhci_request.c;h=8b8f22f37226ba8a313c214c3b5839aaf4a31cad;hb=308b52a85b0abb6e374cfb2571bf9b81ea3f8962;hp=f119747f310e743cca20a2908ca0e733bea726c8;hpb=10083e8132833fc24231b86ac9d20f4ec31a3719;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c index f119747..8b8f22f 100644 --- a/net/bluetooth/hci_request.c +++ b/net/bluetooth/hci_request.c @@ -2900,7 +2900,11 @@ void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn, break; case BT_CONNECT: +#ifdef TIZEN_BT + if (conn->type == LE_LINK && bacmp(&conn->dst, BDADDR_ANY)) { +#else if (conn->type == LE_LINK) { +#endif if (test_bit(HCI_CONN_SCANNING, &conn->flags)) break; hci_req_add(req, HCI_OP_LE_CREATE_CONN_CANCEL,