remove autogenerated file
[librfid] / src / rfid_proto_mifare_ul.c
index e1fe3b9..d90ac63 100644 (file)
@@ -17,7 +17,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  */
 #include <stdio.h>
 #include <stdlib.h>
@@ -109,7 +109,8 @@ mful_getopt(struct rfid_protocol_handle *ph, int optname, void *optval,
        switch (optname) {
        case RFID_OPT_PROTO_SIZE:
                ret = 0;
-               *size = 512;
+               /* we have to return the size in bytes, not bits */
+               *size = 512/8;
                break;
        }