Did you test it?
+ /* If we are scanning only on the current channel, then
+ * we do not need to stop normal activities
+ */
+ unsigned long next_delay;
+
+ __set_bit(SCAN_ONCHANNEL_SCANNING,&local->scanning);
+ ieee80211_recalc_idle(local);
+ /* Notify driver scan is starting, keep order of operations
+ * same as normal software scan, in case that matters. */
+ drv_sw_scan_start(local);
+ ieee80211_configure_filter(local); /* accept probe-responses */
+ /* We need to ensure power level is at max for scanning. */
+ ieee80211_hw_config(local, 0);
a few blank lines would be nice :)
+ if ((req->channels[0]->flags&
+ IEEE80211_CHAN_PASSIVE_SCAN) ||
+ !local->scan_req->n_ssids) {
That formatting is a bit off it seems. Or is that just my mailer?
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html