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)
commitbdc120a2bcd834e571ce4115aaddf71ab34495de
tree49a82587972803554aa0c5b055053d5606eba829
parentc86d86131ab75696fc52d98571148842e067d620
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: ded845a781a5 ("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