OSDN Git Service

obexd/bluetooth: Fix error on register_profile
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 10 Sep 2013 11:38:55 +0000 (14:38 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 10 Sep 2013 11:48:35 +0000 (14:48 +0300)
commit18ce6878130b4b58551d851e87eac72aaacba20f
treeb45e10178ba5797643c5d3c761d1dd54ce575fff
parentcfb34d25b9a50c3efb5fee1bfcc1fa14113ddde2
obexd/bluetooth: Fix error on register_profile

The error happens whenever RegisterProfile fails the interface is not
unregistered causing any subsequent call to register_profile function
to fail:

obexd[944]: D-Bus failed to register /org/bluez/obex/00005005_0000_1000_8000_0002ee000001
obexd[944]: bluetooth: Failed to register profile (null)
obexd/plugins/bluetooth.c