kernel/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
.. .. @@ -447,11 +447,11 @@ 447 447 else 448 448 coex3 |= BIT(4); 449 449 coex3 |= BIT(3); 450 - if (dev->mt76.cap.has_2ghz)450 + if (dev->mphy.cap.has_2ghz)451 451 wlan |= BIT(6); 452 452 } else { 453 453 /* sigle antenna mode */ 454 - if (dev->mt76.cap.has_5ghz) {454 + if (dev->mphy.cap.has_5ghz) {455 455 coex3 |= BIT(3) | BIT(4); 456 456 } else { 457 457 wlan |= BIT(6);