Search Linux Wireless

Re: [PATCH] mac80211: add cancel_hw_scan() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 10, 2011 at 10:45:52AM +0300, Eliad Peller wrote:
> When suspending, __ieee80211_suspend() calls ieee80211_scan_cancel(),
> which will only cancel sw scan. In order to cancel hw scan, the
> low-level driver has to cancel it in the suspend() callback. however,
> this is too late, as a new scan_work will be enqueued (while the driver
> is going into suspend).
> 
> Add a new cancel_hw_scan() callback, asking the driver to cancel an
> active hw scan, and call it in ieee80211_scan_cancel().

Looks reasonable, but could you also update a comments?

> +	/*
> +	 * The scan is canceled, but stop work from being pending.

Also this one is not valid and should be removed.

Stanislaw
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux