aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2012-04-24 20:02:56 -0400
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 00:40:46 -0400
commit479453d5fe3a5b911b7f56474764988100f9f650 (patch)
tree57f5845327b933cef0916d0949947b8d296ed5f7 /include/net
parent8e9f98921c0718cda76bc53c2b51954657b60fa6 (diff)
Bluetooth: Remove advertising cache
User-space pass the remote device address type to kernel through struct sockaddr_l2 what makes the advertising useless. This patch removes all advertising cache code. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index e69a9eed082c..d1e744f3b9be 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -255,9 +255,6 @@ struct hci_dev {
255 255
256 struct list_head remote_oob_data; 256 struct list_head remote_oob_data;
257 257
258 struct list_head adv_entries;
259 struct delayed_work adv_work;
260
261 struct hci_dev_stats stat; 258 struct hci_dev_stats stat;
262 259
263 struct sk_buff_head driver_init; 260 struct sk_buff_head driver_init;
@@ -692,12 +689,6 @@ int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 *hash,
692 u8 *randomizer); 689 u8 *randomizer);
693int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr); 690int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr);
694 691
695#define ADV_CLEAR_TIMEOUT (3*60*HZ) /* Three minutes */
696int hci_adv_entries_clear(struct hci_dev *hdev);
697struct adv_entry *hci_find_adv_entry(struct hci_dev *hdev, bdaddr_t *bdaddr);
698int hci_add_adv_entry(struct hci_dev *hdev,
699 struct hci_ev_le_advertising_info *ev);
700
701void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb); 692void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb);
702 693
703int hci_recv_frame(struct sk_buff *skb); 694int hci_recv_frame(struct sk_buff *skb);