For those who are using Linux kernel version 3.10.45 and earlier version, they may have face issues in Bluetooth. The issue is, any Bluetooth related operation may cause the entire kernel/OS to hand infinitely. The issue is because of deadlock condition in the Bluetooth HCI driver. fixed this issue from kernel version 3.10.46 and below is the link for patch. Below is the patch link for this fix in Linux kernel version 3.10.45 and lower.

Additional patch for Android-kernel

For Android-kernel, this fix has to be added in the below files. drivers/misc/ti-st/st_core.c drivers/misc/ti-st/st_kim.c

For patch, one can get it from here