diff options
| -rw-r--r-- | net/bluetooth/l2cap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 6b839d682143..e322be8ff948 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
| @@ -1158,6 +1158,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al | |||
| 1158 | 1158 | ||
| 1159 | case BT_CONNECTED: | 1159 | case BT_CONNECTED: |
| 1160 | /* Already connected */ | 1160 | /* Already connected */ |
| 1161 | err = -EISCONN; | ||
| 1161 | goto done; | 1162 | goto done; |
| 1162 | 1163 | ||
| 1163 | case BT_OPEN: | 1164 | case BT_OPEN: |
