Hi,
On Wed, Oct 28, 2009, Jaikumar Ganesh wrote:
The SDP cache is removed when the device is removed. In fact, you
fixed this a few days back.
Which commit are you referring to?
This is the scenario I am referring to:
a) Device is paired and SDP records fetched.
b) Device is unpaired - device cache records of SDP is freed
Ok, so at this point we don't have anything stored about the device,
neither on disk nor in runtime memory.
c) On Remote Device - some SDP records are deleted.
d) When the device is created again and the SDP records fetched,
profiles_removed is empty and so
if (req->profiles_removed)
device_remove_drivers(device, req->profiles_removed);
device_remove_drivers will not be called and hence SDP records will
never get deleted.
But what is there to delete if in step b) we already deleted everything?
Johan