altos: Only set CMAC RSSI value on valid packet received
authorKeith Packard <keithp@keithp.com>
Mon, 25 May 2015 00:28:07 +0000 (17:28 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 25 May 2015 00:28:07 +0000 (17:28 -0700)
commit0e76cb2a7d5db24b6cecdccb6fb8d5bf5527fadf
tree3857a62e5a1164157cc8ec00195113885b4e5a8b
parente7c25e3ba04b1e9f8e6fa31e2d464fe96a074dad
altos: Only set CMAC RSSI value on valid packet received

This ignores spurious packets for the purpose of showing the RSSI
value in telelco/telefire, avoiding warning about 'low RSSI' when the
radio receives noise.

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