--- btio/btio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btio/btio.c b/btio/btio.c index 15057f6..50760f0 100644 --- a/btio/btio.c +++ b/btio/btio.c @@ -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)", -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html