summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMursalin Akon <makon@nvidia.com>2012-11-29 14:33:57 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:44:00 -0700
commit7b79e1f554bee5aacbc05b01ce2e71954f4251da (patch)
treeeda36ecdff19338f622765e081922e5a201e21aa /include/net
parent03e9578b4fbd878475d8ab8b4660e09f721f5e97 (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')
-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 65ba442219a1..757def45fa6c 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1631,9 +1631,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 {