Make ao_radio_idle keep trying to get the radio to idle.
authorKeith Packard <keithp@keithp.com>
Mon, 5 Apr 2010 02:48:50 +0000 (19:48 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 5 Apr 2010 02:48:50 +0000 (19:48 -0700)
commitb0b99f30c4e00689e9faceb363a5c7284541c6be
treef06262dc57d1e5ae6f6d445abe9a576e81fabee2
parent0e7abc9fedec568b431c983d3df1b0b29f4f10e3
Make ao_radio_idle keep trying to get the radio to idle.

Attempting to abort a radio operation could lead to a hang if the user
of the radio jumped in and started using it again before the task
attempting to abort woke up. This change just keeps smacking the radio
until the radio goes idle long enough to detect it.
src/ao_radio.c