* [Ubuntu PATCH] Make btsco headset (a bluetooth device) work
@ 2006-06-14 23:22 Randy Dunlap
2006-06-15 10:27 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2006-06-14 23:22 UTC (permalink / raw)
To: lkml, akpm; +Cc: marcel
Make btsco headset (a bluetooth device) work.
Reference: https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/48910
http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=e9cb99036e650dabc5e9d7037d5a728176b42aca
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
---
--- linux/net/bluetooth/hci_event.c 2006-01-31 07:52:07.000000000 +0100
+++ linux/net/bluetooth/hci_event.c 2006-02-13 10:46:30.000000000 +0100
@@ -320,9 +320,9 @@
}
hdev->acl_mtu = __le16_to_cpu(bs->acl_mtu);
- hdev->sco_mtu = bs->sco_mtu ? bs->sco_mtu : 64;
+ hdev->sco_mtu = (bs->sco_mtu < 64) ? 64 : bs->sco_mtu;
hdev->acl_pkts = hdev->acl_cnt = __le16_to_cpu(bs->acl_max_pkt);
- hdev->sco_pkts = hdev->sco_cnt = __le16_to_cpu(bs->sco_max_pkt);
+ hdev->sco_pkts = hdev->sco_cnt = bs->sco_max_pkt ? __le16_to_cpu(bs->sco_max_pkt) : 8;
BT_DBG("%s mtu: acl %d, sco %d max_pkt: acl %d, sco %d", hdev->name,
hdev->acl_mtu, hdev->sco_mtu, hdev->acl_pkts, hdev->sco_pkts);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Ubuntu PATCH] Make btsco headset (a bluetooth device) work
2006-06-14 23:22 [Ubuntu PATCH] Make btsco headset (a bluetooth device) work Randy Dunlap
@ 2006-06-15 10:27 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-06-15 10:27 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, akpm
Hi Randy,
> Make btsco headset (a bluetooth device) work.
> Reference: https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/48910
>
> http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=e9cb99036e650dabc5e9d7037d5a728176b42aca
this patch is not ready for mainline. The -mm kernel contains a more
better patch to address this problem, but even that should not end up in
mainline. I am working on a real solution for this issue.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-15 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-14 23:22 [Ubuntu PATCH] Make btsco headset (a bluetooth device) work Randy Dunlap
2006-06-15 10:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox