public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add TI wl1271 to texas instruments chip list
@ 2009-06-11 18:30 Nick Pelly
  2009-06-11 18:39 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Pelly @ 2009-06-11 18:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Nick Pelly

Signed-off-by: Nick Pelly <npelly@google.com>
---
 tools/hciattach_tialt.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c
index 1abf2f8..72633ad 100644
--- a/tools/hciattach_tialt.c
+++ b/tools/hciattach_tialt.c
@@ -239,12 +239,15 @@ int texasalt_init(int fd, int speed, struct termios *ti)
 	{
 		unsigned short lmp_subv = resp[13] | (resp[14] << 8);
 		unsigned short brf_chip = (lmp_subv & 0x7c00) >> 10;
-		static const char *c_brf_chip[5] = {
+		static const char *c_brf_chip[8] = {
 			"unknown",
 			"unknown",
 			"brf6100",
 			"brf6150",
-			"brf6300"
+			"brf6300",
+			"unknown",
+			"unknown",
+			"wl1271"
 		};
 		char fw[100];
 
@@ -256,7 +259,7 @@ int texasalt_init(int fd, int speed, struct termios *ti)
 				"\tchip: %s (%d)\n",
 				lmp_subv & 0x7f,
 				((lmp_subv & 0x8000) >> (15-3)) | ((lmp_subv & 0x380) >> 7),
-				((brf_chip > 4) ? "unknown" : c_brf_chip[brf_chip]),
+				((brf_chip > 7) ? "unknown" : c_brf_chip[brf_chip]),
 				brf_chip);
 
 		sprintf(fw, "/etc/firmware/%s.bin", c_brf_chip[brf_chip]);
-- 
1.6.3.1


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

* Re: [PATCH] Add TI wl1271 to texas instruments chip list
  2009-06-11 18:30 [PATCH] Add TI wl1271 to texas instruments chip list Nick Pelly
@ 2009-06-11 18:39 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-06-11 18:39 UTC (permalink / raw)
  To: Nick Pelly; +Cc: linux-bluetooth

Hi Nick,

> Signed-off-by: Nick Pelly <npelly@google.com>

we don't do signed-off stuff in bluez.git. So please don't send it
anymore.

> ---
>  tools/hciattach_tialt.c |    9 ++++++---
>  1 files changed, 6 insertions(+), 3 deletions(-)

Patch has been applied. Thanks.

Regards

Marcel



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

end of thread, other threads:[~2009-06-11 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11 18:30 [PATCH] Add TI wl1271 to texas instruments chip list Nick Pelly
2009-06-11 18:39 ` Marcel Holtmann

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