]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: ca8210: Fix lifs/sifs periods
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 1 Feb 2022 18:06:26 +0000 (19:06 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 2 Feb 2022 17:04:50 +0000 (18:04 +0100)
commitbaa4cce8c5c585b2be072f58a1e6dac6d5e10572
tree49a82587972803554aa0c5b055053d5606eba829
parent00d0fe264333599bf61d107dd4ba1955d13e7a2e
net: ieee802154: ca8210: Fix lifs/sifs periods

These periods are expressed in time units (microseconds) while 40 and 12
are the number of symbol durations these periods will last. We need to
multiply them both with the symbol_duration in order to get these
values in microseconds.

Fixes: 7e8c65ebb33d ("ieee802154: Add CA8210 IEEE 802.15.4 device driver")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20220201180629.93410-2-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/ca8210.c