Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340945
b: refs/heads/master
c: 80e4232
h: refs/heads/master
i:
  340943: 3f54094
v: v3
  • Loading branch information
Szymon Janc authored and Samuel Ortiz committed Oct 26, 2012
1 parent b8a6b79 commit 5601ec9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 36b05114d137838508ff132ef33c799a02727e1f
refs/heads/master: 80e4232ecbc96d01465aee132081daaa2c82e859
16 changes: 8 additions & 8 deletions trunk/net/nfc/hci/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,16 @@ static u8 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host,
*result = nfc_hci_execute_cmd(hdev, NFC_HCI_ADMIN_PIPE,
NFC_HCI_ADM_CREATE_PIPE,
(u8 *) &params, sizeof(params), &skb);
if (*result == 0) {
resp = (struct hci_create_pipe_resp *)skb->data;
pipe = resp->pipe;
kfree_skb(skb);
if (*result < 0)
return NFC_HCI_INVALID_PIPE;

pr_debug("pipe created=%d\n", pipe);
resp = (struct hci_create_pipe_resp *)skb->data;
pipe = resp->pipe;
kfree_skb(skb);

return pipe;
} else
return NFC_HCI_INVALID_PIPE;
pr_debug("pipe created=%d\n", pipe);

return pipe;
}

static int nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe)
Expand Down

0 comments on commit 5601ec9

Please sign in to comment.