]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor ioctl scan state update to its own function
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Jul 2014 09:09:07 +0000 (12:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Jul 2014 09:14:20 +0000 (11:14 +0200)
commit4e600f648f86c022b271d60cc0644aaa647a7807
tree7b2b92bd4d9b6f1f1669b838742bb2eeacb96f3a
parentc8348512574af2ea266875dc7978b4cc90af9874
Bluetooth: Refactor ioctl scan state update to its own function

With subsequent patches we'll also need to update the discoverable
state. As the code grows bigger it's better to move this out from the
switch statement into its own function.

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