Skip to contentSkip to conversation

Bluetooth: btmrvl: devices are either BR/EDR or AMPs

PATCH In review David Vrabel 2 participants 2 messages Aug 9, 2010 – Aug 10, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: btmrvl: devices are either BR/EDR or AMPs

Signature · 7 lines
-- 
David Vrabel, Senior Software Engineer, Drivers
CSR, Churchill House, Cambridge Business Park,  Tel: +44 (0)1223 692562
Cowley Road, Cambridge, CB4 0WZ                 http://www.csr.com/


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Quoted 1 line

From 5d16a92e61d8457077d0235d6b7006b824ff6891 Mon Sep 17 00:00:00 2001

From: David Vrabel <dv02@dv02-laptop.(none)>
Date: Mon, 9 Aug 2010 22:39:43 +0100
Subject: [PATCH] Bluetooth: btmrvl: devices are either BR/EDR or AMPs

---
 drivers/bluetooth/btmrvl_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/btmrvl_main.c +2 -2
index 0d32ec8..548d1d9 100644
@@ -117,8 +117,8 @@ int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb)
 				(event->data[2] == MODULE_ALREADY_UP)) ?
 				"Bring-up succeed" : "Bring-up failed");
 
-			if (event->length > 3)
-				priv->btmrvl_dev.dev_type = event->data[3];
+			if (event->length > 3 && event->data[3])
+				priv->btmrvl_dev.dev_type = HCI_AMP;
 			else
 				priv->btmrvl_dev.dev_type = HCI_BREDR;
 
Signature · 1 line
1.5.4.3
maintainer
#1 lore raw

Hi David,

Quoted 9 lines

From 5d16a92e61d8457077d0235d6b7006b824ff6891 Mon Sep 17 00:00:00 2001
From: David Vrabel <dv02@dv02-laptop.(none)>
Date: Mon, 9 Aug 2010 22:39:43 +0100
Subject: [PATCH] Bluetooth: btmrvl: devices are either BR/EDR or AMPs

---
 drivers/bluetooth/btmrvl_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

I fixed this up in your original patch.

Regards

Marcel