projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df7b17
)
Bluetooth: Check for non BR/EDR controller in AMP discover response
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 5 Oct 2013 20:57:53 +0000
(13:57 -0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Sun, 6 Oct 2013 08:42:54 +0000
(10:42 +0200)
Within the AMP discover response, all controllers that are not the
primary BR/EDR controller are valid.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/a2mp.c
b/net/bluetooth/a2mp.c
index 529789d81159a286bbb24fe9ffecc5a6a16f24f2..ad8bda3a6fd171df1dfd3a25a12710cd212d1447 100644
(file)
--- a/
net/bluetooth/a2mp.c
+++ b/
net/bluetooth/a2mp.c
@@
-210,7
+210,7
@@
static int a2mp_discover_rsp(struct amp_mgr *mgr, struct sk_buff *skb,
BT_DBG("Remote AMP id %d type %d status %d", cl->id, cl->type,
cl->status);
- if (cl->id != AMP_ID_BREDR && cl->type
== HCI_AMP
) {
+ if (cl->id != AMP_ID_BREDR && cl->type
!= AMP_TYPE_BREDR
) {
struct a2mp_info_req req;
found = true;
This page took
0.025188 seconds
and
5
git commands to generate.