Avoid destroying the descriptors at closing devices. Thhis allow quitting and relaunching the bluetooth_server without losing functionality

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29641 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2009-03-21 22:27:13 +00:00
parent 3226176456
commit 937bccdbde
@@ -380,6 +380,9 @@ device_removed(void* cookie)
}
bdev->connected = false;
// TODO: place this in the appropiated hook
// kill_device(bdev);
return B_OK;
}
@@ -577,8 +580,6 @@ device_free (void *cookie)
connected, so remove it from the list. */
}
kill_device(bdev);
return err;
}