mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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
This commit is contained in:
parent
603b754d24
commit
e3eaf4671f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user