On Fri, 2010-09-03 at 13:57 +0200, Stanislaw Gruszka wrote: > If we do not get notification from hardware about scan complete after > timeout do mac80211 scan completion anyway. This assure we end scan > in case of firmware hung. > - return test_bit(STATUS_SCAN_HW, &priv->status); > + ret = test_bit(STATUS_SCAN_HW, &priv->status); > + if (ret) > + iwl_force_scan_end(priv); > + return ret; After this, is there any point in the return value from iwl_scan_cancel_timeout()? 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