From d2ae0b4cd47d4ee88eb93177acb142299025e2ef Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Wed, 8 Aug 2012 21:24:13 +0200 Subject: [PATCH] Fixed FailUnknownDevice --- PS3BT.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 PS3BT.cpp diff --git a/PS3BT.cpp b/PS3BT.cpp old mode 100644 new mode 100755 index 994b639e..57dde372 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -306,7 +306,8 @@ FailUnknownDevice: Notify(PSTR(" PID: ")); PrintHex(PID); #endif - rcode = -1; + pUsb->setAddr(bAddress, 0, 0); // Reset address + rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED; goto Fail; Fail: #ifdef DEBUG