Bluetooth: Introduce hci_dev_do_reset helper function
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 19:53:05 +0000 (11:53 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 20:26:24 +0000 (21:26 +0100)
Split the hci_dev_reset ioctl handling into using hci_dev_do_reset
helper function. Similar to what has been done with hci_dev_do_open
and hci_dev_do_close.

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

Simple merge