Bluetooth: Fix RFCOMM RPN negotiation
authorYuri Kululin <ext-yuri.kululin@nokia.com>
Fri, 23 Jul 2010 09:57:12 +0000 (13:57 +0400)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 12 Oct 2010 15:44:51 +0000 (12:44 -0300)
commit08601469a5aac8b3453d8aca0b8f9bd8dfdae12c
tree90a126bf8bd9c56fad847c684384c715df329c49
parentfb3d8eb47ce377d6d7a8fc58b8046ea9eb376a28
Bluetooth: Fix RFCOMM RPN negotiation

According to the ETSI 3GPP TS 07.10 the default bit rate value for RFCOMM
is 9600 bit/s. Return this bit rate in case of RPN request and accept other
sane bit rates proposed by the sender in RPM command.

Signed-off-by: Yuri Kululin <ext-yuri.kululin@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/core.c