Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351887
b: refs/heads/master
c: 99e591b
h: refs/heads/master
i:
  351885: beaa7ba
  351883: 627bebb
  351879: af74db8
  351871: 585e11d
v: v3
  • Loading branch information
Waldemar Rymarkiewicz authored and Samuel Ortiz committed Jan 9, 2013
1 parent 4c20a2c commit 68caa3c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b1e666f503b5479efe9adf79fb46f09fe4f04af5
refs/heads/master: 99e591be3d95e55412585729624b05862bb5463c
6 changes: 6 additions & 0 deletions trunk/drivers/nfc/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ static void pn533_recv_response(struct urb *urb)

in_frame = dev->in_urb->transfer_buffer;

print_hex_dump(KERN_DEBUG, "PN533 RX: ", DUMP_PREFIX_NONE, 16, 1,
in_frame, PN533_FRAME_SIZE(in_frame), false);

if (!pn533_rx_frame_is_valid(in_frame)) {
nfc_dev_err(&dev->interface->dev, "Received an invalid frame");
dev->wq_in_error = -EIO;
Expand Down Expand Up @@ -664,6 +667,9 @@ static int __pn533_send_cmd_frame_async(struct pn533 *dev,
dev->in_urb->transfer_buffer = in_frame;
dev->in_urb->transfer_buffer_length = in_frame_len;

print_hex_dump(KERN_DEBUG, "PN533 TX: ", DUMP_PREFIX_NONE, 16, 1,
out_frame, PN533_FRAME_SIZE(out_frame), false);

rc = usb_submit_urb(dev->out_urb, GFP_KERNEL);
if (rc)
return rc;
Expand Down

0 comments on commit 68caa3c

Please sign in to comment.