]> code.delx.au - pulseaudio/commit
bluetooth: Don't mark device valid before it has an adapter
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 15 Nov 2013 14:29:38 +0000 (16:29 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 20 Nov 2013 13:48:56 +0000 (15:48 +0200)
commit6633c1f9ff3b9a1fc8431c50baad2337ccdc8a36
tree46e9ca03d0286e55faa0648d3f1c0562669c9f18
parentf4f4c42fc611b0bca2293e9b517a88a525f2c1fb
bluetooth: Don't mark device valid before it has an adapter

At this point this doesn't make any other practical difference than
making the code more logical, but in the next patch I'll fire the
DEVICE_CONNECTION_CHANGED hook in set_device_info_valid(), and at that
point it's important that the device isn't marked valid too early,
because otherwise external code would see "valid" devices that however
don't have the adapter set.
src/modules/bluetooth/bluez5-util.c