]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc967c44973be2b4c2aed6ad996be6ca64924466e
tree097a24a5cee1a5cb7fcb65f651c1afac0406a28c
parent73e239bde8814f5b4cb64983abdd937334cc10df
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