提交 d6d244d4 编写于 作者: V Varka Bhadram 提交者: Marcel Holtmann

cc2520: update current channel

This patch updates the current channel to 11. This is the default
value on reset.
Signed-off-by: NVarka Bhadram <varkab@cdac.in>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 322fe2d1
......@@ -762,6 +762,8 @@ static int cc2520_register(struct cc2520_private *priv)
priv->hw->phy->transmit_power = priv->hw->phy->supported.tx_powers[0];
}
priv->hw->phy->current_channel = 11;
dev_vdbg(&priv->spi->dev, "registered cc2520\n");
ret = ieee802154_register_hw(priv->hw);
if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册