raw/ifpga/base: fix SPI transaction
[dpdk.git] / drivers / raw / ifpga / base / opae_spi_transaction.c
index 013efee..d13d2fb 100644 (file)
@@ -166,7 +166,7 @@ static int byte_to_core_convert(struct spi_transaction_dev *dev,
                current_byte = send_data[i];
                switch (current_byte) {
                case SPI_BYTE_IDLE:
-                       *p++ = SPI_BYTE_IDLE;
+                       *p++ = SPI_BYTE_ESC;
                        *p++ = xor_20(current_byte);
                        break;
                case SPI_BYTE_ESC: