Bluetooth: Check for SCO type before setting retransmission effort
authorBernhard Thaler <bernhard.thaler@r-it.at>
Tue, 23 Sep 2014 09:01:07 +0000 (11:01 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Sep 2014 09:30:04 +0000 (11:30 +0200)
commit48e68ff5e55af6907d3f90233e5c4d5601a628a6
tree097a24a5cee1a5cb7fcb65f651c1afac0406a28c
parent5eb596f55cacc2389554a8d7572d90d5e9d4269d
Bluetooth: Check for SCO type before setting retransmission effort

SCO connection cannot be setup to devices that do not support retransmission.
Patch based on http://permalink.gmane.org/gmane.linux.bluez.kernel/7779 and
adapted for this kernel version.

Code changed to check SCO/eSCO type before setting retransmission effort
and max. latency. The purpose of the patch is to support older devices not
capable of eSCO.

Tested on Blackberry 655+ headset which does not support retransmission.
Credits go to Alexander Sommerhuber.

Signed-off-by: Bernhard Thaler <bernhard.thaler@r-it.at>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c