On Thu, Feb 2, 2012 at 5:13 PM, Helmut Schaa <helmut.schaa@xxxxxxxxxxxxxx> wrote: > 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 ... > i'll add a check in ieee80211_register_hw(). thanks. -- 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