summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-06-08 19:29:00 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 10:39:08 -0700
commitae12d52efd492ee6634c34322302ac754ff8cde8 (patch)
tree16e9876d83e82debfaf54761eae31cd10aa8ae07
parent742e519b0db4a470008118b48f0baea6126e2122 (diff)
downloadblackbird-op-linux-ae12d52efd492ee6634c34322302ac754ff8cde8.tar.gz
blackbird-op-linux-ae12d52efd492ee6634c34322302ac754ff8cde8.zip
Bluetooth: Prefer Basic Mode on receipt of ConfigReq
If we choose to use Basic Mode then we have to refuse the received mode and propose Basic Mode again. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--net/bluetooth/l2cap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c
index 03e9125dd74f..ceed5df43fee 100644
--- a/net/bluetooth/l2cap.c
+++ b/net/bluetooth/l2cap.c
@@ -2621,9 +2621,6 @@ static int l2cap_parse_conf_req(struct sock *sk, void *data)
return -ECONNREFUSED;
break;
- default:
- pi->mode = l2cap_select_mode(rfc.mode, pi->conn->feat_mask);
- break;
}
done:
OpenPOWER on IntegriCloud