aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-06 11:25:01 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-06 11:58:45 -0400
commit1514b8928e5d8273920b26276cd9617b6dbc7760 (patch)
treef4f082493e65798b1c513d649dcf5cb5caffd660 /include/net
parenta6d811ed28f7c49e869b4076a00969c4028cda0d (diff)
Bluetooth: Remove mgmt_valid_hdev() helper function
The helper function mgmt_valid_hdev() is more obfuscating the code then it makes it easier to read. So intead of this helper, use the direct check for BR/EDR device type. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 30e0fbb92b0a..d80d4311ccb0 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1148,7 +1148,6 @@ int mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
1148int mgmt_discovering(struct hci_dev *hdev, u8 discovering); 1148int mgmt_discovering(struct hci_dev *hdev, u8 discovering);
1149int mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); 1149int mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type);
1150int mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); 1150int mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type);
1151bool mgmt_valid_hdev(struct hci_dev *hdev);
1152int mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent); 1151int mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent);
1153void mgmt_reenable_advertising(struct hci_dev *hdev); 1152void mgmt_reenable_advertising(struct hci_dev *hdev);
1154 1153