diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-05-17 21:44:52 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-05-19 11:44:44 +0200 |
commit | 392f4e67ad96e1d686c700cba5e218d40347426d (patch) | |
tree | c3718df958fa6bf05ee8fa2ffdf7debe88b2e991 | |
parent | cc643496c0c3f242e5df9dc2bc243764d269d4f1 (diff) | |
download | op-kernel-dev-392f4e67ad96e1d686c700cba5e218d40347426d.zip op-kernel-dev-392f4e67ad96e1d686c700cba5e218d40347426d.tar.gz |
at86rf230: add reset states of tx power level
This patch adds the reset states for tx power levels after running reset
procedure.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 3aa7bc9..5601c74 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -1701,6 +1701,7 @@ at86rf230_detect_device(struct at86rf230_local *lp) } lp->hw->phy->cca_ed_level = lp->hw->phy->supported.cca_ed_levels[7]; + lp->hw->phy->transmit_power = lp->hw->phy->supported.tx_powers[0]; not_supp: dev_info(&lp->spi->dev, "Detected %s chip version %d\n", chip, version); |