Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: Disable SCO support if READ_VOICE_SETTING is unsupported/broken

A SCO connection without the proper voice_setting can cause
the controller to lock up.

Signed-off-by: Pedro Nishiyama <nishiyama.pedro@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Pedro Nishiyama and committed by
Luiz Augusto von Dentz
14d17c78 12788133

+3
+3
net/bluetooth/hci_event.c
··· 930 930 hdev->sco_pkts = 8; 931 931 } 932 932 933 + if (!read_voice_setting_capable(hdev)) 934 + hdev->sco_pkts = 0; 935 + 933 936 hdev->acl_cnt = hdev->acl_pkts; 934 937 hdev->sco_cnt = hdev->sco_pkts; 935 938