]> 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)
commiteefc7b1d5948b3cf0e15c34a7a70733f51fb0eec
tree49a82587972803554aa0c5b055053d5606eba829
parent120843bd5f27dd3448d35ce6b113498cd3375605
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: 8c74c55c8213 ("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