提交 392f4e67 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

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: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 cc643496
...@@ -1701,6 +1701,7 @@ at86rf230_detect_device(struct at86rf230_local *lp) ...@@ -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->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: not_supp:
dev_info(&lp->spi->dev, "Detected %s chip version %d\n", chip, version); dev_info(&lp->spi->dev, "Detected %s chip version %d\n", chip, version);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册