Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314193
b: refs/heads/master
c: 5a0f6f3
h: refs/heads/master
i:
  314191: ee4b8d5
v: v3
  • Loading branch information
Samuel Ortiz committed Jun 4, 2012
1 parent 91f624e commit 8127e00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dadb06f270ad7cd9572b82995f6261f8ca4620ac
refs/heads/master: 5a0f6f3b46b28310262ad9585b80062ef56c5362
6 changes: 3 additions & 3 deletions trunk/net/nfc/llcp/llcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,17 +477,17 @@ static struct nfc_llcp_sock *nfc_llcp_connecting_sock_get(struct nfc_llcp_local
sk_for_each(sk, node, &local->connecting_sockets.head) {
llcp_sock = nfc_llcp_sock(sk);

if (llcp_sock->ssap == ssap)
if (llcp_sock->ssap == ssap) {
sock_hold(&llcp_sock->sk);
goto out;
}
}

llcp_sock = NULL;

out:
read_unlock(&local->connecting_sockets.lock);

sock_hold(&llcp_sock->sk);

return llcp_sock;
}

Expand Down

0 comments on commit 8127e00

Please sign in to comment.