On Wednesday 12 of December 2012 15:19:44 Anderson Lizardo wrote: > Hi Szymon, Hi Anderson, > > On Wed, Dec 12, 2012 at 6:28 AM, Szymon Janc <szymon.janc@xxxxxxxxx> wrote: > > There is no need to double call for manager_get_audio_device with > > toggled create flag. manager_get_audio_device with create set to true > > will only create new audio device if matching one was not found. > > What's the difference between "manager_get_audio_device(device, > FALSE)" and "manager_find_device(device)" ? Also, would be better to > rename manager_find_device() to manager_find_audio_device()? No difference, please see patch 13/16, manager_find_device{s} are made static there. -- BR Szymon Janc -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html