OSDN Git Service

Bluetooth: L2CAP: Fix a condition in l2cap_sock_recvmsg()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Mar 2020 11:33:09 +0000 (14:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Mar 2020 14:12:00 +0000 (15:12 +0100)
commitb354e6c10eaf97a1f5aff4839795bd32ad32f0f9
tree51577e9e330af908e5a08b43130379055273ddaa
parent96298f640104e4cd9a913a6e50b0b981829b94ff
Bluetooth: L2CAP: Fix a condition in l2cap_sock_recvmsg()

Smatch complains about the indenting:

    net/bluetooth/l2cap_sock.c:1027 l2cap_sock_recvmsg()
    warn: inconsistent indenting

It looks like this is supposed to be an "else if" condition.

Fixes: 15f02b910562 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_sock.c