On Sat, 2015-02-21 at 16:52 +0100, Janusz Dziedzic wrote: > In case of wide bandwidth scan all channels we have > in chandef, not only control one. I think you should say why :) > @@ -1381,11 +1450,18 @@ static void ieee80211_sta_find_ibss(struct > ieee80211_sub_if_data *sdata) > /* Selected IBSS not found in current scan results - try to > scan */ > if (time_after(jiffies, ifibss->last_scan_completed + > IEEE80211_SCAN_INTERVAL)) { > + struct ieee80211_channel *channels[8]; > + unsigned int num = 0; no need to initialize 'num' here. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html