Commit d6d244d4 authored by Varka Bhadram's avatar Varka Bhadram Committed by Marcel Holtmann

cc2520: update current channel

This patch updates the current channel to 11. This is the default
value on reset.
Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment