diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-19 10:09:11 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-19 11:56:52 -0400 |
commit | 06f5b7785af6beebb7b2a452687b5a102c90ca6e (patch) | |
tree | 33945c97ce1f48736cb71925bb60993e2a54f70c /net/bluetooth/hci_event.c | |
parent | 3497ac84bd35bc5b984a3a20625021bfb0ca3f37 (diff) |
Bluetooth: Add support for setting SSP debug mode
Enabling and disabling SSP debug mode is useful for development. This
adds a debugfs entry that allows to configure the SSP debug mode.
On purpose this has been implemented as debugfs entry and not a public
API since it is really only useful during testing and development.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 1214d4b6f541..5935f748c0f9 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -198,6 +198,8 @@ static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) | |||
198 | 198 | ||
199 | memset(hdev->scan_rsp_data, 0, sizeof(hdev->scan_rsp_data)); | 199 | memset(hdev->scan_rsp_data, 0, sizeof(hdev->scan_rsp_data)); |
200 | hdev->scan_rsp_data_len = 0; | 200 | hdev->scan_rsp_data_len = 0; |
201 | |||
202 | hdev->ssp_debug_mode = 0; | ||
201 | } | 203 | } |
202 | 204 | ||
203 | static void hci_cc_write_local_name(struct hci_dev *hdev, struct sk_buff *skb) | 205 | static void hci_cc_write_local_name(struct hci_dev *hdev, struct sk_buff *skb) |