Bluetooth: Add debugfs entry for setting vendor diagnostic mode
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 7 Oct 2015 17:52:35 +0000 (19:52 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Oct 2015 06:57:07 +0000 (09:57 +0300)
commit4b4113d6dbdbdac095743c05f694af9b7cdc9a44
treebf7448038e84a3b96da801467f44f5d8c33180f9
parent94c58132c062855df53db9a46fb8da0b878d69f0
Bluetooth: Add debugfs entry for setting vendor diagnostic mode

This adds a new debugfs entry for enabling and disabling the vendor
diagnostic mode. It is only exposed for drivers that provide the
set_diag driver callback and actually have an option for vendor
specific diagnostic information.

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