@@ -6965,6 +7066,10 @@ static int brcmf_construct_chaninfo(struct brcmf_cfg80211_info *cfg,Eh. Why is this conditional? We are creating all bands in the wiphy
for (i = 0; i < band->n_channels; i++)
band->channels[i].flags = IEEE80211_CHAN_DISABLED;
band = wiphy->bands[NL80211_BAND_5GHZ];
+ if (band)
instance so why the null check here?
I just matched what was there, I can remove all of them if we want.
(I'll take care of the rest of the comments between here)
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature