Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315309
b: refs/heads/master
c: fe3c094
h: refs/heads/master
i:
  315307: 01999c3
v: v3
  • Loading branch information
Samuel Ortiz authored and John W. Linville committed Jul 9, 2012
1 parent cae16ab commit 432460e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01d719a2287ec34f631800d10f1fad3c134c3e89
refs/heads/master: fe3c094abc2365a226184554501fe0df87fe8271
3 changes: 3 additions & 0 deletions trunk/net/nfc/llcp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr,
struct nfc_llcp_sock *llcp_sock = nfc_llcp_sock(sk);
DECLARE_SOCKADDR(struct sockaddr_nfc_llcp *, llcp_addr, uaddr);

if (llcp_sock == NULL || llcp_sock->dev == NULL)
return -EBADFD;

pr_debug("%p %d %d %d\n", sk, llcp_sock->target_idx,
llcp_sock->dsap, llcp_sock->ssap);

Expand Down

0 comments on commit 432460e

Please sign in to comment.