Search Linux Wireless

Re: [PATCH] rt2x00: Fix lock dependency errror

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

 



On Wed, 2008-06-25 at 22:18 +0200, Ivo Van Doorn wrote:
> >> 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?
> 
> True, but this is a quick patch to resolve the bug for sure.

Fair enough, this is a fix for 2.6.26 after all.

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