]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: fix error return code in rfcomm_add_listener()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 12:23:37 +0000 (20:23 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 20 Mar 2013 17:17:52 +0000 (14:17 -0300)
commitcb0953f785756e740989f4851ecfe6df6ff1180f
tree04f7857ab3b0fe7451f648d538c8cd2a74dc11de
parent19faa9a168a3973dd0af3e9339b3ee2346d9ae98
Bluetooth: fix error return code in rfcomm_add_listener()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/rfcomm/core.c