diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 0dcc96266779..b2eb2b93580f 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -418,7 +418,8 @@ static inline void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_ | |||
418 | data = &tv; | 418 | data = &tv; |
419 | len = sizeof(tv); | 419 | len = sizeof(tv); |
420 | #ifdef CONFIG_COMPAT | 420 | #ifdef CONFIG_COMPAT |
421 | if (msg->msg_flags & MSG_CMSG_COMPAT) { | 421 | if (!COMPAT_USE_64BIT_TIME && |
422 | (msg->msg_flags & MSG_CMSG_COMPAT)) { | ||
422 | ctv.tv_sec = tv.tv_sec; | 423 | ctv.tv_sec = tv.tv_sec; |
423 | ctv.tv_usec = tv.tv_usec; | 424 | ctv.tv_usec = tv.tv_usec; |
424 | data = &ctv; | 425 | data = &ctv; |