Bluetooth: Queue diagnostic messages together with HCI packets
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 9 Oct 2015 14:13:51 +0000 (16:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Oct 2015 22:49:21 +0000 (00:49 +0200)
commit581d6fd60f37be587690655de05aee200b939e06
tree7d0c92cd30f15fbc3f0b4e25a1d961905554b1ea
parentbb77543ebd2e38c08412fec7eb1e35b902c5ff77
Bluetooth: Queue diagnostic messages together with HCI packets

Sending diagnostic messages directly to the monitor socket might cause
issues for devices processing their messages in interrupt context. So
instead of trying to directly forward them, queue them up with the other
HCI packets and lets them be processed by the sockets at the same time.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c