acrn-kernel/net/mac802154
Miquel Raynal 1229df4b31 net: mac802154: Fix symbol durations
There are two major issues in the logic calculating the symbol durations
based on the page/channel:
- The page number is used in place of the channel value.
- The BIT() macro is missing because we want to check the channel
  value against a bitmask.

Fix these two errors and apologize loudly for this mistake.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220428164140.251965-1-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2022-04-30 20:29:47 +02:00
..
Kconfig
Makefile
cfg.c net: mac802154: Set durations automatically 2022-02-10 15:41:58 +01:00
cfg.h
driver-ops.h
ieee802154_i.h net: mac802154: Save a global error code on transmissions 2022-04-25 20:51:12 +02:00
iface.c mac802154: use dev_addr_set() - manual 2021-10-20 14:27:40 +01:00
llsec.c net: mac802154: Fix general protection fault 2021-04-06 22:42:16 +02:00
llsec.h
mac_cmd.c
main.c net: mac802154: Fix symbol durations 2022-04-30 20:29:47 +02:00
mib.c
rx.c
trace.c
trace.h
tx.c
util.c net: mac802154: Create an error helper for asynchronous offloading errors 2022-04-25 20:51:12 +02:00