diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-17 22:48:26 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-13 23:13:36 (GMT) |
commit | 4eba11e82a0365117be92453c5c91a263500fd1a (patch) | |
tree | 91b99b62225b7de4e3b005a1b8e90d4f8e59cab6 /net/nfc/hci | |
parent | 06c660340f1e142b607541ece3520fff3f5d2c39 (diff) | |
download | linux-4eba11e82a0365117be92453c5c91a263500fd1a.tar.xz |
NFC: hci: Fix enable/disable confusion
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>
Diffstat (limited to 'net/nfc/hci')
-rw-r--r-- | net/nfc/hci/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c index fe66908..d07ca4c 100644 --- 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->enable_se(hdev, se_idx); + return hdev->ops->disable_se(hdev, se_idx); return 0; } |