summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btrtl.c
diff options
context:
space:
mode:
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>2018-08-22 17:34:11 +0530
committerMarcel Holtmann <marcel@holtmann.org>2018-09-27 11:59:58 +0200
commit7cf7846d27bfc9731e449857db3eec5e0e9701ba (patch)
treed12c8bd3dbcb2b1c4dd2dbeaeee061fb88de4341 /drivers/bluetooth/btrtl.c
parentc2d7827338618a9e73a3f892ca63d9082bb7a94d (diff)
downloadlinux-7cf7846d27bfc9731e449857db3eec5e0e9701ba.tar.bz2
Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races
Clearing HCI_UART_PROTO_READY will avoid usage of proto function pointers before running the proto close function pointer. There is chance of kernel crash, due to usage of non proto close function pointers after proto close. Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btrtl.c')
0 files changed, 0 insertions, 0 deletions