OSDN Git Service

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)
commit0a57d636012edd147e553d22bfcd3f589b03e676
tree2a388b203c29d4303df3744a10f07facb797f1d7
parentdd28dea52ad9376d2b243a8981726646e1f60b1a
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