projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322fe2d
)
cc2520: update current channel
author
Varka Bhadram
<varkabhadram@gmail.com>
Fri, 29 May 2015 05:26:58 +0000
(10:56 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 31 May 2015 11:40:54 +0000
(13:40 +0200)
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>
drivers/net/ieee802154/cc2520.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/cc2520.c
b/drivers/net/ieee802154/cc2520.c
index
2384c28
..
8141353
100644
(file)
--- a/
drivers/net/ieee802154/cc2520.c
+++ b/
drivers/net/ieee802154/cc2520.c
@@
-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)