Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] andorid/handsfree.c setting sizeof struct properly for sco_handlers[]
@ 2015-04-02  3:45 Prabhu Chawandi
  2015-04-03 10:59 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhu Chawandi @ 2015-04-02  3:45 UTC (permalink / raw)
  To: Szymon Janc, linux-bluetooth

diff --git a/android/handsfree.c b/android/handsfree.c
index 7cdc8b4..e6c4b1b 100644
--- a/android/handsfree.c
+++ b/android/handsfree.c
@@ -2891,7 +2891,7 @@ failed:

 static const struct ipc_handler sco_handlers[] = {
        /* SCO_OP_GET_FD */
-       { bt_sco_get_fd, false, 0 }
+       { bt_sco_get_fd, false, sizeof(struct sco_cmd_get_fd) }
 };

 static void bt_sco_unregister(void)

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

end of thread, other threads:[~2015-04-03 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02  3:45 [PATCH] andorid/handsfree.c setting sizeof struct properly for sco_handlers[] Prabhu Chawandi
2015-04-03 10:59 ` Szymon Janc

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