Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU
authorJoseph Hwang <josephsih@chromium.org>
Thu, 10 Sep 2020 06:04:02 +0000 (14:04 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Sep 2020 07:07:56 +0000 (09:07 +0200)
commit0fc1a726f897acfa774b17eeb62b38480d1c9ea0
treec28a0a8eb7e184833f65a8ebd0114c1033505268
parent3eec158d5eca7dd455118d9e00568aad2371219f
Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

This patch defines new getsockopt options BT_SNDMTU/BT_RCVMTU
for SCO socket to be compatible with other bluetooth sockets.
These new options return the same value as option SCO_OPTIONS
which is already present on existing kernels.

Signed-off-by: Joseph Hwang <josephsih@chromium.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/sco.c