summaryrefslogtreecommitdiff
path: root/src/ao_radio_cmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_radio_cmac.c')
-rw-r--r--src/ao_radio_cmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_radio_cmac.c b/src/ao_radio_cmac.c
index 41fbbe1f..e263f0db 100644
--- a/src/ao_radio_cmac.c
+++ b/src/ao_radio_cmac.c
@@ -78,7 +78,7 @@ radio_cmac_send(uint8_t len) __reentrant
ao_config_get();
#if HAS_MONITOR
- ao_set_monitor(0);
+ ao_monitor_set(0);
#endif
ao_mutex_get(&ao_aes_mutex);
@@ -107,7 +107,7 @@ radio_cmac_recv(uint8_t len, uint16_t timeout) __reentrant
len = round_len(len);
#if HAS_MONITOR
- ao_set_monitor(0);
+ ao_monitor_set(0);
#endif
if (timeout)
ao_alarm(timeout);