projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06c6603
)
NFC: hci: Fix enable/disable confusion
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 17 Jun 2013 22:48:26 +0000
(
01:48
+0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 13 Aug 2013 23:13:36 +0000
(
01:13
+0200)
There is a cut and paste bug so we enable a second time instead of
disabling.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/core.c
patch
|
blob
|
history
diff --git
a/net/nfc/hci/core.c
b/net/nfc/hci/core.c
index
fe66908
..
d07ca4c
100644
(file)
--- a/
net/nfc/hci/core.c
+++ b/
net/nfc/hci/core.c
@@
-717,7
+717,7
@@
static int hci_disable_se(struct nfc_dev *nfc_dev, u32 se_idx)
struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev);
if (hdev->ops->disable_se)
- return hdev->ops->
en
able_se(hdev, se_idx);
+ return hdev->ops->
dis
able_se(hdev, se_idx);
return 0;
}