mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 21:45:08 -04:00
cc2520: update current channel
This patch updates the current channel to 11. This is the default value on reset. Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
committed by
Marcel Holtmann
parent
322fe2d1be
commit
d6d244d4df
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user