Skip to contentSkip to conversation

Two more Bluetooth btusb fixes for 2.6.27-rc8

DISCUSSION Marcel Holtmann 1 participant 2 messages Sep 30, 2008 – Oct 2, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Dave,

the btusb and bpa10x drivers have double frees due to a thinking mistake with the URB_FREE_BUFFER flag. Rafael confirmed that this fixes his last hibernation issue. I think that was the last regression that we had for this driver. All full suspend/resume and auto-suspend/remote-wakeup patches are queued for 2.6.28 now. I am happy that we finally fixed the real cause and not worked around it with adding suspend and resume callbacks. We did that for the old hci_usb driver and it was a bad idea.

I also added a second patch for two new Bluetooth 2.1 devices that came to market recently that need a quirk to make them work. Both are based on the same chip, but use different vendor ids. I tested the Targus one personally.

Regards

Marcel

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

This will update the following files:

 drivers/bluetooth/bpa10x.c |    2 --
 drivers/bluetooth/btusb.c  |    7 ++++---
 2 files changed, 4 insertions(+), 5 deletions(-)

through these ChangeSets:

Marcel Holtmann (2):
[Bluetooth] Fix double frees on error paths of btusb and bpa10x drivers [Bluetooth] Add reset quirk for new Targus and Belkin dongles

#1 lore raw

Hi Dave,

Quoted 8 lines

the btusb and bpa10x drivers have double frees due to a thinking mistake with the URB_FREE_BUFFER flag. Rafael confirmed that this fixes his last hibernation issue. I think that was the last regression that we had for this driver. All full suspend/resume and auto-suspend/remote-wakeup patches are queued for 2.6.28 now. I am happy that we finally fixed the real cause and not worked around it with adding suspend and resume callbacks. We did that for the old hci_usb driver and it was a bad idea.

Quoted 4 lines

I also added a second patch for two new Bluetooth 2.1 devices that came to market recently that need a quirk to make them work. Both are based on the same chip, but use different vendor ids. I tested the Targus one personally.

did you see this one? Any objections for pulling it? The Nokia guys just told me they got another device that needs the HCI_Reset quirk. If you haven't pulled this yet, I like to push that one on top of these patches.

Regards

Marcel