libftdi: (tomj) increase for 0.7 release, updated changelog based on diff
[libftdi] / src / ftdi.c
index 4cc36ce..4c4d31a 100644 (file)
@@ -462,7 +462,7 @@ static int ftdi_convert_baudrate(int baudrate, struct ftdi_context *ftdi,
     if(ftdi->type == TYPE_2232C) {
         *index = (unsigned short)(encoded_divisor >> 8);
         *index &= 0xFF00;
-        *index |= ftdi->interface;
+        *index |= ftdi->index;
     }
     else
         *index = (unsigned short)(encoded_divisor >> 16);