Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315290
b: refs/heads/master
c: eae202a
h: refs/heads/master
v: v3
  • Loading branch information
Eric Lapuyade authored and John W. Linville committed Jul 9, 2012
1 parent 986e134 commit c56a1fa
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 36516268fd372294f5f4f26e0538ee70a1b5b9e7
refs/heads/master: eae202aa2083eb6f7fdb686e2c42d7db4ef63632
5 changes: 5 additions & 0 deletions trunk/drivers/nfc/pn544_hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ static int pn544_hci_open(struct nfc_shdlc *shdlc)

r = pn544_hci_enable(info, HCI_MODE);

if (r == 0)
info->state = PN544_ST_READY;

out:
mutex_unlock(&info->info_lock);
return r;
Expand All @@ -393,6 +396,8 @@ static void pn544_hci_close(struct nfc_shdlc *shdlc)

pn544_hci_disable(info);

info->state = PN544_ST_COLD;

out:
mutex_unlock(&info->info_lock);
}
Expand Down

0 comments on commit c56a1fa

Please sign in to comment.