Abort any in-progress radio operation when changing radio channel
authorKeith Packard <keithp@keithp.com>
Mon, 21 Jun 2010 22:53:33 +0000 (15:53 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 21 Jun 2010 22:53:33 +0000 (15:53 -0700)
commit52834517c0706b1f16fb81643a42dc1c1997e00a
treee84da4b5cfa3b67672808284c16a2de53d313504
parent5933eaa44fe45027b856f1303dd657b974eb53e7
Abort any in-progress radio operation when changing radio channel

In monitor mode, the current receive operation must be aborted so that
the radio channel change can take effect without receiving a
telemetry packet on the old channel. Aborting any in-progress radio
operation will make sure that happens.

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