]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Move more logic into set_connectable complete callback
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Oct 2013 13:20:04 +0000 (16:20 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 13:48:08 +0000 (06:48 -0700)
commitd7b856f9380d95a9d663180701da904123c035b8
tree9cca489a3206ef12aa54571543fad018fe70d2eb
parent9b74246f3a074b6072fa81002805ceaefb87a013
Bluetooth: Move more logic into set_connectable complete callback

This patch moves the responsibility of setting/clearing the
HCI_CONNECTABLE flag to the request completion callback of the Set
Connectable command. This will allow us to cleanly add support for LE
Advertising hooks in later patches.

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