Bluetooth: Fix error return value on sendmsg.
commitf9dd11b03c5c3cd6bdf2e503400bbc922c898974
authorJoão Paulo Rechi Vita <jprvita@profusion.mobi>
Tue, 22 Jun 2010 16:56:24 +0000 (22 13:56 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:10 +0000 (21 10:39 -0700)
treebac632bd0ee36f9bc657a7943b93e3204d61b234
parent305682e8377b0f560d4b885c169a72e6a62331e9
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