summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorMursalin Akon <makon@nvidia.com>2012-11-29 14:33:57 -0800
committerMrutyunjay Sawant <msawant@nvidia.com>2012-12-03 02:16:22 -0800
commitaa3479b94fcaa7bfb249ad14771a5ff184a4bd64 (patch)
treeb6f90fd39dc91b65de661062ea868f8357101d1e /include/net/bluetooth/hci.h
parent1a2b68cdab8202f543436f6271eac31743608337 (diff)
bluetooth: hid: make Android code conditional
Commit 7c786ce33a1b4194cb95aa1e68bc38d552eda932 introduced couple of fields, which are not used in standard bluez user space stack. However, Android bluez use them. This CL, conditionally builds the part of the code introduced in the above commit. Bug 1178960 Change-Id: I7254fe83c7fb4bbfd14e00dda3ec3a14afc1b234 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/167501 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index dceb5fa999f5..e1b12ce2e150 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1395,9 +1395,11 @@ struct hci_conn_info {
__u8 out;
__u16 state;
__u32 link_mode;
+#ifdef CONFIG_ANDROID
__u32 mtu;
__u32 cnt;
__u32 pkts;
+#endif
};
struct hci_dev_req {