Search Linux Wireless

Re: [PATCH] rt2x00: Fix lock dependency errror

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

 



> diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
> index 611d983..73dacbb 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00.h
> +++ b/drivers/net/wireless/rt2x00/rt2x00.h
> @@ -821,6 +822,7 @@ struct rt2x00_dev {
>  	/*
>  	 * Scheduled work.
>  	 */
> +	struct workqueue_struct *workqueue;

Do you really need a whole workqueue (kernel thread) per device? I would
think that using schedule_work / cancel_work_sync for this task and keep
using the mac80211 wq would be sufficient?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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