]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Simplify RFCOMM session state eval
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 10 Feb 2014 01:59:11 +0000 (20:59 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 14 Feb 2014 21:39:30 +0000 (13:39 -0800)
commit6d0711c16cc6e4dca189fd53154067a4d12a73b1
treeb1333750a53c081e672b55185e0b8eb933877cc7
parent235fc56c89dc6bbff9922c81a1ddd4dc067b68d2
Bluetooth: Simplify RFCOMM session state eval

Merge conditional test for BT_LISTEN session state into following
switch statement (which is functionally equivalent).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/core.c