* [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT
@ 2009-07-01 6:09 Vikram Kandukuri
2009-06-30 13:58 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Vikram Kandukuri @ 2009-07-01 6:09 UTC (permalink / raw)
To: marcel; +Cc: linux-bluetooth
Subject: [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT
There is a test case in PTS tool; PTS will send the VIRTUAL_CABLE_UNPLUG
command to IUT. IUT should disconnect the channel and kill the session
when it receives VIRTUAL_CABLE_UNPLUG command. VIRTUAL_CABLE_UNPLUG
is parsed by hidp.ko but it is not scheduled to do so (There is no
schedule code). So I have added hidp_schedule to kill the session.
Signed-off-by: Jothikumar Mothilal <jothikumar.mothilal@atheros.com>
---
net/bluetooth/hidp/core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index b186768..a9f7afb 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -374,6 +374,7 @@ static void hidp_process_hid_control(struct hidp_session *session,
/* Kill session thread */
atomic_inc(&session->terminate);
+ hidp_schedule(session);
}
}
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT
2009-07-01 6:09 [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT Vikram Kandukuri
@ 2009-06-30 13:58 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-06-30 13:58 UTC (permalink / raw)
To: Vikram Kandukuri; +Cc: linux-bluetooth
Hi Vikram,
> Subject: [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT
>
> There is a test case in PTS tool; PTS will send the VIRTUAL_CABLE_UNPLUG
> command to IUT. IUT should disconnect the channel and kill the session
> when it receives VIRTUAL_CABLE_UNPLUG command. VIRTUAL_CABLE_UNPLUG
> is parsed by hidp.ko but it is not scheduled to do so (There is no
> schedule code). So I have added hidp_schedule to kill the session.
patch has been added to all three trees. Thanks.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-01 6:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 6:09 [PATCH] Bluetooth: Scheduled to kill the session whenever VIRTUAL_CABLE_UNPLUG is received by IUT Vikram Kandukuri
2009-06-30 13:58 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox