Bluetooth: Move connectable changes to hdev->req_workqueue
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 22 Nov 2015 13:43:43 +0000 (16:43 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:48 +0000 (00:51 +0100)
commit53c0ba74510c1182786dcd1e3710215467777601
treed3099c9fa312136b2c1b9e958f78944386f22240
parentf22525700b2ae34eb97a29a91e2eee902062b484
Bluetooth: Move connectable changes to hdev->req_workqueue

This way the connectable changes are synchronized against each other,
which helps avoid potential races. The connectable mode is also linked
together with LE advertising which makes is more convenient to have it
behind the same workqueue.

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