]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix error return value on sendmsg.
authorJoão Paulo Rechi Vita <jprvita@profusion.mobi>
Tue, 22 Jun 2010 16:56:24 +0000 (13:56 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:10 +0000 (10:39 -0700)
commit89746ff3d6da8974cce1d61145dea6fa1ed5ffe1
treebac632bd0ee36f9bc657a7943b93e3204d61b234
parent55ed75f34bde7fbeb8caee2d77ec814079eca181
Bluetooth: Fix error return value on sendmsg.

When we try to send a message bigger than the outgoing MTU value
EMSGSIZE (message too long) should be returned.

Signed-off-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c