]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Return proper error codes on rfcomm tty init
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 24 Oct 2011 13:30:57 +0000 (15:30 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 31 Oct 2011 19:25:01 +0000 (17:25 -0200)
commit73fbdc7c32aa104b2dad615136ee0bf0eabfa3b6
tree7c7eac3b4eb73c81163be2204e4ee93fc269a6e5
parenteecbae2a61bc2ef7767afe606c2d7f40107cfe84
Bluetooth: Return proper error codes on rfcomm tty init

Forward error codes from tty core to the rfcomm_init caller instead of using
generic -1 errors.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/tty.c