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)
commit4339c25afb0d49878fba5a989618ffe807aa46cd
treeb1333750a53c081e672b55185e0b8eb933877cc7
parentc10a848cea89a8f0418fa0efec33c4e8507aab4b
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