From f0068ba4468bc4c717e000028af141410d5905d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= <cnkgndgn@gmail.com> Date: Sun, 21 Feb 2016 22:57:09 +0100 Subject: [PATCH] drivers/kw2xrf: use NETOPT_STATE_RX for rcv --- drivers/kw2xrf/kw2xrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/kw2xrf/kw2xrf.c b/drivers/kw2xrf/kw2xrf.c index c06f42caa1..c0d2c233d7 100644 --- a/drivers/kw2xrf/kw2xrf.c +++ b/drivers/kw2xrf/kw2xrf.c @@ -193,7 +193,7 @@ void kw2xrf_set_sequence(kw2xrf_t *dev, kw2xrf_physeq_t seq) break; case XCVSEQ_RECEIVE: - dev->state = NETOPT_STATE_IDLE; + dev->state = NETOPT_STATE_RX; break; case XCVSEQ_TRANSMIT: -- GitLab