All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] shared/asha: Only update device set after start succeeds
@ 2025-04-25 14:04 Arun Raghavan
  2025-04-25 15:34 ` [BlueZ] " bluez.test.bot
  2025-04-25 19:01 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Arun Raghavan @ 2025-04-25 14:04 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Arun Raghavan, sanchayan

This ensures that one side's connected status is only exposed to the
other after the connection is actually complete.
---
 src/shared/asha.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/shared/asha.c b/src/shared/asha.c
index e623e7156..33bec40da 100644
--- a/src/shared/asha.c
+++ b/src/shared/asha.c
@@ -421,8 +421,6 @@ static void read_rops(bool success,
 			asha->right_side, asha->binaural, asha->csis_supported,
 			asha->render_delay, asha->codec_ids);
 
-	update_asha_set(asha, true);
-
 	check_probe_done(asha);
 }
 
@@ -447,6 +445,7 @@ static void audio_status_notify(uint16_t value_handle, const uint8_t *value,
 		if (status == 0) {
 			asha->state = ASHA_STARTED;
 			DBG("ASHA start complete");
+			update_asha_set(asha, true);
 			asha_set_send_status(asha, true);
 		} else {
 			bt_asha_state_reset(asha);
-- 
2.49.0


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

* RE: [BlueZ] shared/asha: Only update device set after start succeeds
  2025-04-25 14:04 [PATCH BlueZ] shared/asha: Only update device set after start succeeds Arun Raghavan
@ 2025-04-25 15:34 ` bluez.test.bot
  2025-04-25 19:01 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-04-25 15:34 UTC (permalink / raw)
  To: linux-bluetooth, arun

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=957057

---Test result---

Test Summary:
CheckPatch                    PENDING   0.25 seconds
GitLint                       PENDING   0.26 seconds
BuildEll                      PASS      20.34 seconds
BluezMake                     PASS      2631.47 seconds
MakeCheck                     PASS      20.23 seconds
MakeDistcheck                 PASS      197.03 seconds
CheckValgrind                 PASS      273.68 seconds
CheckSmatch                   PASS      301.68 seconds
bluezmakeextell               PASS      127.80 seconds
IncrementalBuild              PENDING   0.22 seconds
ScanBuild                     PASS      895.10 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ] shared/asha: Only update device set after start succeeds
  2025-04-25 14:04 [PATCH BlueZ] shared/asha: Only update device set after start succeeds Arun Raghavan
  2025-04-25 15:34 ` [BlueZ] " bluez.test.bot
@ 2025-04-25 19:01 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-04-25 19:01 UTC (permalink / raw)
  To: Arun Raghavan; +Cc: linux-bluetooth, sanchayan

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri, 25 Apr 2025 10:04:47 -0400 you wrote:
> This ensures that one side's connected status is only exposed to the
> other after the connection is actually complete.
> ---
>  src/shared/asha.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Here is the summary with links:
  - [BlueZ] shared/asha: Only update device set after start succeeds
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=c29bb3f92825

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-04-25 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25 14:04 [PATCH BlueZ] shared/asha: Only update device set after start succeeds Arun Raghavan
2025-04-25 15:34 ` [BlueZ] " bluez.test.bot
2025-04-25 19:01 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.