diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-17 02:20:44 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-17 03:49:14 -0500 |
commit | 2d6dde29ae144cd87879963477cdedb96be542c7 (patch) | |
tree | 62e64452e601b2361505b525465a27d64c014bdc /drivers/net/ieee802154 | |
parent | 197304b7a5e32a457eee0c0cf0f518fab65fffcc (diff) |
at86rf230: fix commentation for symbol duration
This patch fix an copy&paste issue in the comment of setting symbol
duration. These comments are more correct according the at86rf212 datasheet
now.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 7278e1838c57..1c0135620c62 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1043,10 +1043,10 @@ at86rf212_set_channel(struct at86rf230_local *lp, u8 page, u8 channel) | |||
1043 | } | 1043 | } |
1044 | } else { | 1044 | } else { |
1045 | if (page == 0) | 1045 | if (page == 0) |
1046 | /* SUB:0 and BPSK:1 -> BPSK-20 */ | 1046 | /* SUB:0 and BPSK:1 -> OQPSK-100/200/400 */ |
1047 | lp->hw->phy->symbol_duration = 40; | 1047 | lp->hw->phy->symbol_duration = 40; |
1048 | else | 1048 | else |
1049 | /* SUB:1 and BPSK:1 -> BPSK-20 */ | 1049 | /* SUB:1 and BPSK:1 -> OQPSK-250/500/1000 */ |
1050 | lp->hw->phy->symbol_duration = 16; | 1050 | lp->hw->phy->symbol_duration = 16; |
1051 | } | 1051 | } |
1052 | 1052 | ||