mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH bluez 0/2] obexd/bluetooth: Fix profile registration race and clean up
@ 2026-10-28  6:45 Zijun Hu
  2026-10-28  6:45 ` [PATCH bluez 1/2] obexd/bluetooth: Register profiles added after org.bluez appeared Zijun Hu
  2026-10-28  6:45 ` [PATCH bluez 2/2] obexd/bluetooth: Clean up redundant code Zijun Hu
  0 siblings, 2 replies; 4+ messages in thread
From: Zijun Hu @ 2026-10-28  6:45 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: Zijun Hu, linux-bluetooth, linux-kernel, Zijun Hu

This series is to fix below profile registration issue and do clean up:

After boot on Debian, bluetoothd and obexd are both running but none of
the obexd server profiles (OPP, FTP, PBAP, ...) is registered.

obexd registers profiles from name_acquired(), but only adds them to its
list later in bluetooth_start(). If org.bluez appears first, nothing is
registered.

Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
---
Zijun Hu (2):
      obexd/bluetooth: Register profiles added after org.bluez appeared
      obexd/bluetooth: Clean up redundant code

 obexd/plugins/bluetooth.c | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)
---
base-commit: b0bf49270d445da0852851f393cd67a0a1e5f05e
change-id: 20261027-fix_obex-c912a68e73a5

Best regards,
--  
Zijun Hu <zijun.hu@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-28  7:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  6:45 [PATCH bluez 0/2] obexd/bluetooth: Fix profile registration race and clean up Zijun Hu
2026-10-28  6:45 ` [PATCH bluez 1/2] obexd/bluetooth: Register profiles added after org.bluez appeared Zijun Hu
2026-10-28  7:48   ` Zijun Hu
2026-10-28  6:45 ` [PATCH bluez 2/2] obexd/bluetooth: Clean up redundant code Zijun Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®