Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Varka Bhadram and committed by
Marcel Holtmann
d6d244d4 322fe2d1

+2
+2
drivers/net/ieee802154/cc2520.c
··· 762 762 priv->hw->phy->transmit_power = priv->hw->phy->supported.tx_powers[0]; 763 763 } 764 764 765 + priv->hw->phy->current_channel = 11; 766 + 765 767 dev_vdbg(&priv->spi->dev, "registered cc2520\n"); 766 768 ret = ieee802154_register_hw(priv->hw); 767 769 if (ret)