forked from pool/bluez
Marcus Meissner
c54147dd3a
* Fix issue with handling notification of scanned BISes to BASS * Fix issue with handling checking BIS caps against peer caps. * Fix issue with handling MGMT Set Device Flags overwrites. * Fix issue with handling ASE notification order. * Fix issue with handling BIG Info report events. * Fix issue with handling PACS Server role. * Fix issue with registering UHID_START multiple times. * Fix issue with pairing method not setting auto-connect. - Fix 3 rpmlint warnings, some configuration files were not marked as so. OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=375
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From 4de2871675d3b039b5797e77cc1d6ce4070e86b2 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Tue, 16 Feb 2016 16:39:09 +0000
|
|
Subject: [PATCH] bcm43xx: The UART speed must be reset after the firmware
|
|
download
|
|
|
|
---
|
|
tools/hciattach_bcm43xx.c | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
Index: bluez-5.71/tools/hciattach_bcm43xx.c
|
|
===================================================================
|
|
--- bluez-5.71.orig/tools/hciattach_bcm43xx.c
|
|
+++ bluez-5.71/tools/hciattach_bcm43xx.c
|
|
@@ -350,11 +350,8 @@ int bcm43xx_init(int fd, int def_speed,
|
|
return -1;
|
|
|
|
if (bcm43xx_locate_patch(FIRMWARE_DIR, chip_name, fw_path)) {
|
|
- fprintf(stderr, "Patch not found, continue anyway\n");
|
|
+ fprintf(stderr, "Patch not found for %s, continue anyway\n", chip_name);
|
|
} else {
|
|
- if (bcm43xx_set_speed(fd, ti, speed))
|
|
- return -1;
|
|
-
|
|
if (bcm43xx_load_firmware(fd, fw_path))
|
|
return -1;
|
|
|
|
@@ -364,6 +361,7 @@ int bcm43xx_init(int fd, int def_speed,
|
|
return -1;
|
|
}
|
|
|
|
+ sleep(1);
|
|
if (bcm43xx_reset(fd))
|
|
return -1;
|
|
}
|