Dan Carpenter
b9f9dbad0b
Bluetooth: hci_sock: fix endian bug in hci_sock_setsockopt()
...
This copies a u16 into the high bits of an int, which works on a big
endian system but not on a little endian system.
Fixes: 09572fca7223 ("Bluetooth: hci_sock: Add support for BT_{SND,RCV}BUF")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2022-01-07 08:41:38 +01:00
..
2021-12-29 08:48:14 -08:00
2021-10-25 15:02:04 +02:00
2021-12-29 08:48:14 -08:00
2021-10-05 07:41:16 -07:00
2021-10-25 11:01:29 -07:00
2021-06-26 07:12:41 +02:00
2021-06-26 07:12:41 +02:00
2021-11-02 19:37:52 +01:00
2021-11-02 19:37:52 +01:00
2021-09-21 10:37:33 +02:00
2021-12-29 08:48:14 -08:00
2021-10-07 17:57:22 +02:00
2021-09-07 14:09:18 -07:00
2021-12-22 23:01:35 +01:00
2021-12-22 23:01:27 +01:00
2021-09-22 16:17:13 +02:00
2021-09-22 16:17:13 +02:00
2022-01-06 14:57:09 +01:00
2021-12-22 23:01:35 +01:00
2021-12-22 23:01:35 +01:00
2022-01-07 08:41:38 +01:00
2021-12-22 23:01:35 +01:00
2021-10-13 14:31:50 +02:00
2021-12-22 23:01:35 +01:00
2022-01-07 08:40:11 +01:00
2021-10-29 16:51:58 +02:00
2021-06-26 07:12:42 +02:00
2021-12-07 17:05:52 +01:00
2021-12-07 17:05:52 +01:00
2021-12-23 11:39:59 -08:00
2021-12-07 17:05:50 +01:00
2021-12-07 17:05:51 +01:00
2021-09-21 10:44:52 +02:00
2021-06-26 07:12:43 +02:00
2021-06-26 07:12:37 +02:00