git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
bluetooth
/
bfusb.c
diff --git
a/drivers/bluetooth/bfusb.c
b/drivers/bluetooth/bfusb.c
index
45e35bc
..
79ff338
100644
(file)
--- a/
drivers/bluetooth/bfusb.c
+++ b/
drivers/bluetooth/bfusb.c
@@
-585,6
+585,8
@@
static int bfusb_load_firmware(struct bfusb *bfusb, unsigned char *firmware, int
return -EBUSY;
}
return -EBUSY;
}
+ bfusb->udev->toggle[0] = bfusb->udev->toggle[1] = 0;
+
buf = kmalloc(BFUSB_MAX_BLOCK_SIZE + 3, GFP_ATOMIC);
if (!buf) {
BT_ERR("Can't allocate memory chunk for firmware");
buf = kmalloc(BFUSB_MAX_BLOCK_SIZE + 3, GFP_ATOMIC);
if (!buf) {
BT_ERR("Can't allocate memory chunk for firmware");
@@
-624,6
+626,8
@@
static int bfusb_load_firmware(struct bfusb *bfusb, unsigned char *firmware, int
goto error;
}
goto error;
}
+ bfusb->udev->toggle[0] = bfusb->udev->toggle[1] = 0;
+
BT_INFO("BlueFRITZ! USB device ready");
kfree(buf);
BT_INFO("BlueFRITZ! USB device ready");
kfree(buf);