diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-06-08 18:29:00 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 13:39:08 -0400 |
commit | ae12d52efd492ee6634c34322302ac754ff8cde8 (patch) | |
tree | 16e9876d83e82debfaf54761eae31cd10aa8ae07 /net/bluetooth | |
parent | 742e519b0db4a470008118b48f0baea6126e2122 (diff) |
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>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap.c | 3 |
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) | |||
2621 | return -ECONNREFUSED; | 2621 | return -ECONNREFUSED; |
2622 | 2622 | ||
2623 | break; | 2623 | break; |
2624 | default: | ||
2625 | pi->mode = l2cap_select_mode(rfc.mode, pi->conn->feat_mask); | ||
2626 | break; | ||
2627 | } | 2624 | } |
2628 | 2625 | ||
2629 | done: | 2626 | done: |