remove autogenerated file
[librfid] / src / rfid_layer2_iso14443b.c
index 34575c5..df2f95d 100644 (file)
@@ -16,7 +16,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 <stdlib.h>
@@ -305,7 +305,7 @@ iso14443b_init(struct rfid_reader_handle *rh)
        h->priv.iso14443b.tr0 = (256/ISO14443_FREQ_SUBCARRIER)*10e6;
        h->priv.iso14443b.tr1 = (200/ISO14443_FREQ_SUBCARRIER)*10e6;
 
-       ret = h->rh->reader->iso14443b.init(h->rh);
+       ret = h->rh->reader->init(h->rh, RFID_LAYER2_ISO14443B);
        if (ret < 0) {
                DEBUGP("error during reader 14443b init\n");
                free_layer2_handle(h);
@@ -337,7 +337,7 @@ iso14443b_transceive(struct rfid_layer2_handle *handle,
 
 static int
 iso14443b_getopt(struct rfid_layer2_handle *handle,
-                int optname, void *optval, unsigned int optlen)
+                int optname, void *optval, unsigned int *optlen)
 {
        unsigned int *opt_ui = optval;