“63b852a6b67d0820d388b0ecd0da83ccb4048b8d”上不存在“arch/m32r/include/uapi/asm/mman.h”
提交 4eba11e8 编写于 作者: D Dan Carpenter 提交者: Samuel Ortiz

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 06c66034
...@@ -717,7 +717,7 @@ static int hci_disable_se(struct nfc_dev *nfc_dev, u32 se_idx) ...@@ -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); struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev);
if (hdev->ops->disable_se) if (hdev->ops->disable_se)
return hdev->ops->enable_se(hdev, se_idx); return hdev->ops->disable_se(hdev, se_idx);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册