Bluetooth: Don't send RFC for Basic Mode if only it is supported
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 4 Aug 2010 02:49:29 +0000 (23:49 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Aug 2010 14:23:00 +0000 (07:23 -0700)
commit6340650400525a9ca8d86b1b4501cc50670dce0d
treec1b08c17d9fd9e97549ce7d723f762deba3dd768
parent28e9509b1270e5cfa8bb3c5ff51f39214aa09262
Bluetooth: Don't send RFC for Basic Mode if only it is supported

If the remote side doesn't support Enhanced Retransmission Mode neither
Streaming Mode, we shall not send the RFC option.

Some devices that only supports Basic Mode do not understanding the RFC
option. This patch fixes the regression found with these devices.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c