mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
mt76: Use the correct hweight8() function
mt76_init_stream_cap() and mt76_get_txpower() call __sw_hweight8() directly, but that's only defined if CONFIG_GENERIC_HWEIGHT is enabled. The function that works on all architectures is hweight8(). Fixes:551e1ef4d2("mt76: add mt76_init_stream_cap routine") Fixes:9313faacbb("mt76: move mt76x02_get_txpower to mt76 core") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
3eeb7c062d
commit
d0ff23c110
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue