altos: When sharing radio DMA for AES, use it for in instead of out
authorKeith Packard <keithp@keithp.com>
Wed, 29 Aug 2012 01:05:10 +0000 (18:05 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 29 Aug 2012 06:00:22 +0000 (23:00 -0700)
commitf2d919a2147025daa332957cda6d91959e4731ab
treee04b09baaa1aaa1c0d4287b81d14ba36ec37e097
parent31b42b99edbb976534ac432c07e218f13d1f5f9b
altos: When sharing radio DMA for AES, use it for in instead of out

We look at the out_done value, but not the in_done value; if we use
the radio DMA for out, we would have to use ao_radio_dma_done to check
for completion. This way, we can ignore that value and use the
existing ao_aes_dma_out_done value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_aes.c