We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5ab23 commit 838bc9bCopy full SHA for 838bc9b
drivers/net/wireless/mediatek/mt76/mt7921/init.c
@@ -88,6 +88,9 @@ mt7921_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev)
88
}
89
90
sband = wiphy->bands[NL80211_BAND_6GHZ];
91
+ if (!sband)
92
+ return;
93
+
94
band_np = np ? of_get_child_by_name(np, "txpower-6g") : NULL;
95
for (i = 0; i < sband->n_channels; i++) {
96
ch = &sband->channels[i];
0 commit comments