mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-26 14:23:28 +08:00
btio: Fix not setting getsockopt optlen for BT_SNDMTU
This commit is contained in:
parent
24aaa5c9d6
commit
2c8e43efc9
@ -1085,6 +1085,7 @@ parse_opts:
|
||||
break;
|
||||
}
|
||||
|
||||
len = sizeof(l2o.omtu);
|
||||
if (getsockopt(sock, SOL_BLUETOOTH, BT_SNDMTU,
|
||||
&l2o.omtu, &len) < 0) {
|
||||
ERROR_FAILED(err, "getsockopt(BT_SNDMTU)",
|
||||
|
Loading…
Reference in New Issue
Block a user