Bluetooth: Check the tx_window size on setsockopt
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Jun 2010 22:21:30 +0000 (19:21 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:07 +0000 (10:39 -0700)
commit45d65c46acc39945219eeb3752367ee80ed82799
treedc4c6862953a519776a492924caa000516f747a2
parent3cb123d1c03a0510d3c325bfaa971ce4df1e050d
Bluetooth: Check the tx_window size on setsockopt

We have to check if the proposed tx_window value is not greater that
maximum value supported.

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