On Thu, Feb 2, 2012 at 12:13 PM, Eliad Peller <eliad@xxxxxxxxxx> wrote: [...] > - if (local->scan_sdata) { > + if (local->scan_sdata && > + !(local->hw.flags & IEEE80211_HW_SCAN_WHILE_IDLE)) { Maybe check for the existence of the hw_scan callback here? Otherwise a driver setting this flag without providing a hw_scan callback might cause trouble ... Helmut -- 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