From: Ravi kumar Veeramally Date: Tue, 26 Jun 2012 14:50:46 +0000 (+0300) Subject: nfctype4: Remove duplicate tag read-only check X-Git-Tag: 0.5~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b12b2c2ba42beeea151cffc5afd398a49c295bc;p=platform%2Fupstream%2Fneard.git nfctype4: Remove duplicate tag read-only check Tag read-only check while writing is added in tag.c. So remove duplicate check from plugin. --- diff --git a/plugins/nfctype4.c b/plugins/nfctype4.c index 99fd856..e98b33b 100644 --- a/plugins/nfctype4.c +++ b/plugins/nfctype4.c @@ -693,11 +693,6 @@ static int nfctype4_write(uint32_t adapter_idx, uint32_t target_idx, if (tag == NULL) return -EINVAL; - if (near_tag_get_ro(tag) == TRUE) { - DBG("tag is read-only"); - return -EPERM; - } - return data_write(adapter_idx, target_idx, ndef, tag, cb); }