]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: fix the wiphy's available antennas to the correct value
authorBo Jiao <Bo.Jiao@mediatek.com>
Fri, 19 Nov 2021 08:53:23 +0000 (16:53 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sun, 19 Dec 2021 14:24:00 +0000 (15:24 +0100)
commitddd230a1385ab6f2f7ccef96f55421850fe9e816
tree2a388b203c29d4303df3744a10f07facb797f1d7
parent08ebcbd9507610ce2a26147d403ff9ae4b4681d9
mt76: fix the wiphy's available antennas to the correct value

the wiphy's available antennas may be incorrect
When ext phy's antenna_mask is different from main phy

Signed-off-by: Bo Jiao <Bo.Jiao@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c