summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2016-09-29 01:59:05 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:53:11 +0900
commit7cb5b609d373322f3c73689cd5459869196d7c11 (patch)
treeefb07d44eade9f3efaae788b46ab2ec8c1532cc4 /include
parent982ae0161355576215c548d6d657699c996e1afb (diff)
Bluetooth: fix vendor ext rssi link alert event
This patch fixes style for rssi link alert event from vendor specific group ext. Change-Id: I0e7003e417c5f5a590cce8264caccad515dd3c10 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h11
-rw-r--r--include/net/bluetooth/hci_core.h3
2 files changed, 7 insertions, 7 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 3598384aafa1..e1b25d48b884 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1498,12 +1498,6 @@ struct hci_cc_rsp_enable_rssi {
__u8 le_ext_opcode;
} __packed;
-struct hci_ev_vendor_specific_rssi_alert {
- __le16 conn_handle;
- __s8 alert_type;
- __s8 rssi_dbm;
-} __packed;
-
/*
* Vendor Specific HCI Command
* Vendor: Broadcom
@@ -1907,6 +1901,11 @@ struct hci_ev_ext_vendor_specific {
} __packed;
#define LE_RSSI_LINK_ALERT 0x02
+struct hci_ev_vendor_specific_rssi_alert {
+ __le16 conn_handle;
+ __s8 alert_type;
+ __s8 rssi_dbm;
+} __packed;
#endif
#define HCI_EV_LE_CONN_COMPLETE 0x01
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 23406b9114e5..a19322f561e6 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1502,7 +1502,8 @@ void mgmt_rssi_disable_success(struct sock *sk, struct hci_dev *hdev,
void *data, struct hci_cc_rsp_enable_rssi *rp, int success);
int mgmt_set_rssi_threshold(struct sock *sk, struct hci_dev *hdev,
void *data, u16 len);
-void mgmt_rssi_alert_evt(struct hci_dev *hdev, struct sk_buff *skb);
+void mgmt_rssi_alert_evt(struct hci_dev *hdev, u16 conn_handle,
+ s8 alert_type, s8 rssi_dbm);
void mgmt_raw_rssi_response(struct hci_dev *hdev,
struct hci_cc_rp_get_raw_rssi *rp, int success);
void mgmt_enable_rssi_cc(struct hci_dev *hdev, void *response, u8 status);