On Sun, 2014-05-18 at 10:15 +0300, Emmanuel Grumbach wrote: > - res = cfg80211_bss_update(wiphy_to_rdev(wiphy), &tmp, > - rx_channel == channel); > + signal_valid = abs(rx_channel->center_freq - channel->center_freq) <= > + wiphy->max_adj_channel_rssi_comp; > + res = cfg80211_bss_update(wiphy_to_rdev(wiphy), &tmp, signal_valid); > if (!res) > return NULL; I'm getting a bit worried now that rx_channel might be NULL for some drivers? 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