mirror_ubuntu-kernels/drivers/net/wireless/mediatek
Ben Hutchings d0ff23c110 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>
2019-02-18 20:10:28 +01:00
..
mt76 mt76: Use the correct hweight8() function 2019-02-18 20:10:28 +01:00
mt7601u mt7601u: do not use WARN_ON in the datapath 2019-02-01 14:41:19 +02:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile mt76: add driver code for MT76x2e 2017-12-07 15:35:56 +02:00