mifare: Check access rights while writing
authorDorota Moskal <dorota.moskal@tieto.com>
Thu, 27 Sep 2012 11:22:15 +0000 (13:22 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Oct 2012 21:17:08 +0000 (23:17 +0200)
commitecf79a87e2efbb867f824c8cd3bed7a0dbe33a9f
tree004c5f362d311f5c5f61a428ddc33c4616ec830a
parent95fc0d0b099ed62018085eacaafa7af03c54f2d1
mifare: Check access rights while writing

As access rights can vary for each sector, some sectors may be
writable but the next one can be read only. If so, new tag size
(valid only for writing) is calculated. Then check for enough space
on tag is done.
plugins/mifare.c