Ignore if the incoming device is not supported

This commit is contained in:
Kristian Lauszus 2012-08-04 20:38:57 +02:00
parent b2d6e4313f
commit 6dc2b6e09d

View file

@ -565,10 +565,8 @@ void BTD::HCI_task() {
break;
case HCI_DONE_STATE:
if(connectionClaimed) { // Wait until one of the services has claimed the connection before accepting more incoming requests
hci_state = HCI_SCANNING_STATE;
connectionClaimed = false;
}
hci_state = HCI_SCANNING_STATE;
connectionClaimed = false;
break;
case HCI_DISCONNECT_STATE: