Re: [PATCH 4/4] Bluetooth: Ignore incoming data after initiating disconnection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> When hci_chan_del is called the disconnection routines get scheduled
> through a workqueue. If there's any incoming ACL data before the
> routines get executed there's a chance that a new hci_chan is created
> and the disconnection never happens. This patch adds a new hci_conn flag
> to indicate that we're in the process of driving the connection down. We
> set the flag in hci_chan_del and check for it in hci_chan_create so that
> no new channels are created for the same connection.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/hci_core.h | 1 +
> net/bluetooth/hci_conn.c         | 6 ++++++
> 2 files changed, 7 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux