OSDN Git Service

Bluetooth: Add return check for L2CAP security level set
authorFugang Duan <fugang.duan@nxp.com>
Fri, 15 Mar 2019 03:17:28 +0000 (03:17 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Apr 2019 16:09:07 +0000 (18:09 +0200)
commitbbb69b37be15e1cff74730b7fa5659e1ee705795
tree79eadfd2d5d8e393add2a80b7b53b69e51c059cb
parentba8f5289f706aed94cc95b15cc5b89e22062f61f
Bluetooth: Add return check for L2CAP security level set

Add return check for security level set for socket interface since
stack will check the return value.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_sock.c