aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r--net/bluetooth/hci_sock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c
index 49142612916e..5914623f426a 100644
--- a/net/bluetooth/hci_sock.c
+++ b/net/bluetooth/hci_sock.c
@@ -733,7 +733,8 @@ static inline void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_
733 data = &tv; 733 data = &tv;
734 len = sizeof(tv); 734 len = sizeof(tv);
735#ifdef CONFIG_COMPAT 735#ifdef CONFIG_COMPAT
736 if (msg->msg_flags & MSG_CMSG_COMPAT) { 736 if (!COMPAT_USE_64BIT_TIME &&
737 (msg->msg_flags & MSG_CMSG_COMPAT)) {
737 ctv.tv_sec = tv.tv_sec; 738 ctv.tv_sec = tv.tv_sec;
738 ctv.tv_usec = tv.tv_usec; 739 ctv.tv_usec = tv.tv_usec;
739 data = &ctv; 740 data = &ctv;