diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-21 15:59:52 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-04 21:34:31 +0200 |
commit | cb3a4503f41f7f60bbc74a937bc30a0e143fc53c (patch) | |
tree | 3a62ad90af7694f22afeb8e7e2a3e284b7e8398f /net/nfc | |
parent | 5a0f6f3b46b28310262ad9585b80062ef56c5362 (diff) | |
download | linux-next-cb3a4503f41f7f60bbc74a937bc30a0e143fc53c.tar.gz |
NFC: Call the DEP link down ops even when in target mode
Even in target mode we need to let the driver know that we want to
bring the DEP link down.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c index 6a3799eebc30..4177bb5104b9 100644 --- a/net/nfc/core.c +++ b/net/nfc/core.c @@ -268,11 +268,6 @@ int nfc_dep_link_down(struct nfc_dev *dev) goto error; } - if (dev->rf_mode == NFC_RF_TARGET) { - rc = -EOPNOTSUPP; - goto error; - } - rc = dev->ops->dep_link_down(dev); if (!rc) { dev->dep_link_up = false; |