Skip to content
Snippets Groups Projects
Unverified Commit e3eaf467 authored by Koen Zandberg's avatar Koen Zandberg
Browse files

kw2xrf: Don't propagate NETOPT_CHANNEL setter

This modification changes the netdev::set function for the kw2xrf to not
propagate the NETOPT_CHANNEL to the generic netdev_ieee802154 code
parent 603b754d
No related branches found
No related tags found
No related merge requests found
......@@ -427,8 +427,7 @@ static int _set(netdev_t *netdev, netopt_t opt, const void *value, size_t len)
res = -EINVAL;
break;
}
dev->netdev.chan = chan;
/* don't set res to set netdev_ieee802154_t::chan */
res = sizeof(uint16_t);
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment