OSDN Git Service

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)
commit5c912495b7a8ab6adae877979abfffba4340e06c
treef5c1bac27f3da355fcdab87d482bf613165c2f39
parent8f502f847a67d00412382aeda0a2fa412b04e2a7
Bluetooth: Introduce hci_dev_do_reset helper function

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