hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c
....@@ -52,15 +52,15 @@
5252
5353 mt76x02_eeprom_parse_hw_cap(dev);
5454 dev_dbg(dev->mt76.dev, "2GHz %d 5GHz %d\n",
55
- dev->mt76.cap.has_2ghz, dev->mt76.cap.has_5ghz);
55
+ dev->mphy.cap.has_2ghz, dev->mphy.cap.has_5ghz);
5656
5757 if (dev->no_2ghz) {
58
- dev->mt76.cap.has_2ghz = false;
58
+ dev->mphy.cap.has_2ghz = false;
5959 dev_dbg(dev->mt76.dev, "mask out 2GHz support\n");
6060 }
6161
6262 if (is_mt7630(dev)) {
63
- dev->mt76.cap.has_5ghz = false;
63
+ dev->mphy.cap.has_5ghz = false;
6464 dev_dbg(dev->mt76.dev, "mask out 5GHz support\n");
6565 }
6666