Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340936
b: refs/heads/master
c: a6a0915
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz committed Oct 26, 2012
1 parent 32e1b7e commit 5ca1f49
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 97f18414af395c547f20300e5d4c81d7190a4155
refs/heads/master: a6a0915f8c2d794030097ebe0adb85ee904ebac3
7 changes: 4 additions & 3 deletions trunk/net/nfc/llcp/llcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,10 @@ static void nfc_llcp_tx_work(struct work_struct *work)
if (skb != NULL) {
sk = skb->sk;
llcp_sock = nfc_llcp_sock(sk);
if (llcp_sock != NULL) {

if (llcp_sock == NULL && nfc_llcp_ptype(skb) == LLCP_PDU_I) {
nfc_llcp_send_symm(local->dev);
} else {
int ret;

pr_debug("Sending pending skb\n");
Expand All @@ -629,8 +632,6 @@ static void nfc_llcp_tx_work(struct work_struct *work)
skb_queue_tail(&llcp_sock->tx_pending_queue,
skb);
}
} else {
nfc_llcp_send_symm(local->dev);
}
} else {
nfc_llcp_send_symm(local->dev);
Expand Down

0 comments on commit 5ca1f49

Please sign in to comment.