diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-15 09:33:56 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-15 10:21:35 -0400 |
commit | 4796e8af60ee7d2922386ef9fd4389d21e2c1665 (patch) | |
tree | 75834071976e55550199003dc6d644b0d74988ab /include/net/bluetooth | |
parent | a330916c4f29898b93708b6bec8f59f7a7956f41 (diff) |
Bluetooth: Make mgmt_write_scan_failed() return void
The return value of mgmt_write_scan_failed() function is not used
and so just change it to return void.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 997d43d1996e..da21a8d2b4a1 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -1102,7 +1102,7 @@ void mgmt_set_powered_failed(struct hci_dev *hdev, int err); | |||
1102 | int mgmt_powered(struct hci_dev *hdev, u8 powered); | 1102 | int mgmt_powered(struct hci_dev *hdev, u8 powered); |
1103 | void mgmt_discoverable(struct hci_dev *hdev, u8 discoverable); | 1103 | void mgmt_discoverable(struct hci_dev *hdev, u8 discoverable); |
1104 | void mgmt_connectable(struct hci_dev *hdev, u8 connectable); | 1104 | void mgmt_connectable(struct hci_dev *hdev, u8 connectable); |
1105 | int mgmt_write_scan_failed(struct hci_dev *hdev, u8 scan, u8 status); | 1105 | void mgmt_write_scan_failed(struct hci_dev *hdev, u8 scan, u8 status); |
1106 | int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, | 1106 | int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, |
1107 | bool persistent); | 1107 | bool persistent); |
1108 | void mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, | 1108 | void mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, |