Commit 94229ca5 authored by Cedric Roux's avatar Cedric Roux

bugfix: = instead of ==

Bug reported by Bruno Mongazon from Nokia.
parent 5c0f42a2
...@@ -148,7 +148,7 @@ int trx_eth_write_raw(openair0_device *device, openair0_timestamp timestamp, voi ...@@ -148,7 +148,7 @@ int trx_eth_write_raw(openair0_device *device, openair0_timestamp timestamp, voi
int sent_byte; int sent_byte;
if (eth->compression = ALAW_COMPRESS) { if (eth->compression == ALAW_COMPRESS) {
sent_byte = RAW_PACKET_SIZE_BYTES_ALAW(nsamps); sent_byte = RAW_PACKET_SIZE_BYTES_ALAW(nsamps);
} else { } else {
sent_byte = RAW_PACKET_SIZE_BYTES(nsamps); sent_byte = RAW_PACKET_SIZE_BYTES(nsamps);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment