diff options
-rw-r--r-- | net/bluetooth/l2cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 884b840081ae..ac25952538fd 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -1881,7 +1881,7 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms | |||
1881 | 1881 | ||
1882 | default: | 1882 | default: |
1883 | BT_DBG("bad state %1.1x", pi->mode); | 1883 | BT_DBG("bad state %1.1x", pi->mode); |
1884 | err = -EINVAL; | 1884 | err = -EBADFD; |
1885 | } | 1885 | } |
1886 | 1886 | ||
1887 | done: | 1887 | done: |