]> git.droids-corp.org - dpdk.git/blobdiff - drivers/raw/ifpga/base/opae_spi_transaction.c
raw/ifpga/base: fix SPI transaction
[dpdk.git] / drivers / raw / ifpga / base / opae_spi_transaction.c
index 013efee3e60b372aa0a907c7d5e7b8f9e942b5b2..d13d2fbc83c0a44886cd09be3e67576a269ac86b 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: