| .. | .. |
|---|
| 52 | 52 | |
|---|
| 53 | 53 | mt76x02_eeprom_parse_hw_cap(dev); |
|---|
| 54 | 54 | 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); |
|---|
| 56 | 56 | |
|---|
| 57 | 57 | if (dev->no_2ghz) { |
|---|
| 58 | | - dev->mt76.cap.has_2ghz = false; |
|---|
| 58 | + dev->mphy.cap.has_2ghz = false; |
|---|
| 59 | 59 | dev_dbg(dev->mt76.dev, "mask out 2GHz support\n"); |
|---|
| 60 | 60 | } |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | if (is_mt7630(dev)) { |
|---|
| 63 | | - dev->mt76.cap.has_5ghz = false; |
|---|
| 63 | + dev->mphy.cap.has_5ghz = false; |
|---|
| 64 | 64 | dev_dbg(dev->mt76.dev, "mask out 5GHz support\n"); |
|---|
| 65 | 65 | } |
|---|
| 66 | 66 | |
|---|