From c8de94a0605d6f362c2a905696beb78da6d219f3 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Tue, 21 Aug 2012 14:20:12 +0200 Subject: [PATCH] Potential bug fix --- PS3BT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PS3BT.cpp b/PS3BT.cpp index 3a7010b3..65697af5 100644 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -231,7 +231,7 @@ void PS3BT::disconnect() { // Use this void to disconnect any of the controllers void PS3BT::ACLData(uint8_t* ACLData) { if(!pBtd->l2capConnectionClaimed && !PS3Connected && !PS3MoveConnected && !PS3NavigationConnected) { if (ACLData[8] == L2CAP_CMD_CONNECTION_REQUEST) { - if(((ACLData[12] | (ACLData[13] << 8)) == HID_CTRL_PSM) || ((ACLData[12] | (ACLData[13] << 8)) == HID_INTR_PSM)) { + if((ACLData[12] | (ACLData[13] << 8)) == HID_CTRL_PSM) { pBtd->l2capConnectionClaimed = true; // Claim that the incoming connection belongs to this service hci_handle = pBtd->hci_handle; // Store the HCI Handle for the connection l2cap_state = L2CAP_WAIT;