hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
....@@ -447,11 +447,11 @@
447447 else
448448 coex3 |= BIT(4);
449449 coex3 |= BIT(3);
450
- if (dev->mt76.cap.has_2ghz)
450
+ if (dev->mphy.cap.has_2ghz)
451451 wlan |= BIT(6);
452452 } else {
453453 /* sigle antenna mode */
454
- if (dev->mt76.cap.has_5ghz) {
454
+ if (dev->mphy.cap.has_5ghz) {
455455 coex3 |= BIT(3) | BIT(4);
456456 } else {
457457 wlan |= BIT(6);