Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
#endif
channel = ieee80211_get_channel(wiphy, freq);
if (!channel) {
- WL_ERR(("No valid channel"));
+ WL_ERR(("No valid channel: %u\n", freq));
kfree(notif_bss_info);
return -EINVAL;
}
}
}
+#if 0
err = wl_construct_reginfo(wl, bw_cap);
if (err) {
WL_ERR(("wl_construct_reginfo() fails err=%d\n", err));
/* Ignore error if "chanspecs" command is not supported */
err = 0;
}
+#endif
for (i = 1; i <= nband && i < sizeof(bandlist)/sizeof(u32); i++) {
index = -1;
if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) {