mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
kw2xrf: don't set netdev channel in set_channel
This commit is contained in:
parent
e3eaf4671f
commit
dc70c3c218
@ -135,8 +135,6 @@ int kw2xrf_set_channel(kw2xrf_t *dev, uint8_t channel)
|
||||
kw2xrf_write_dreg(dev, MKW2XDM_PLL_FRAC0_LSB, (uint8_t)pll_frac_lt[tmp]);
|
||||
kw2xrf_write_dreg(dev, MKW2XDM_PLL_FRAC0_MSB, (uint8_t)(pll_frac_lt[tmp] >> 8));
|
||||
|
||||
dev->netdev.chan = channel;
|
||||
|
||||
if (old_seq) {
|
||||
kw2xrf_set_sequence(dev, old_seq);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user