Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341501
b: refs/heads/master
c: 23f7e6d
h: refs/heads/master
i:
  341499: 96f2104
v: v3
  • Loading branch information
Eric Lapuyade authored and Samuel Ortiz committed Nov 19, 2012
1 parent 9bcdee5 commit 05361c3
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: 07887e92205c5808820de0be53bf326b4019d060
refs/heads/master: 23f7e6d0d060e2eb0be1daef818d030025453b44
6 changes: 6 additions & 0 deletions trunk/net/nfc/hci/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ static int nfc_hci_result_to_errno(u8 result)
switch (result) {
case NFC_HCI_ANY_OK:
return 0;
case NFC_HCI_ANY_E_REG_PAR_UNKNOWN:
return -EOPNOTSUPP;
case NFC_HCI_ANY_E_TIMEOUT:
return -ETIME;
default:
Expand Down Expand Up @@ -419,6 +421,10 @@ static int hci_dev_version(struct nfc_hci_dev *hdev)

r = nfc_hci_get_param(hdev, NFC_HCI_ID_MGMT_GATE,
NFC_HCI_ID_MGMT_VERSION_SW, &skb);
if (r == -EOPNOTSUPP) {
pr_info("Software/Hardware info not available\n");
return 0;
}
if (r < 0)
return r;

Expand Down

0 comments on commit 05361c3

Please sign in to comment.