Re: [PATCH] d80211: ieee80211_hw handlers should be allowed to sleep

2006-10-19 Thread Jiri Benc
On Wed, 18 Oct 2006 19:27:37 +0200, Ivo van Doorn wrote: > Would something like the patch below be better? > It keeps the flush_scheduled_work() at the same location, but a second > is added in case local->scan_work.data != sdata->dev Applied to my tree, thanks for the patch! Jiri -- Jiri Benc

Re: [PATCH] d80211: ieee80211_hw handlers should be allowed to sleep

2006-10-18 Thread Jan Kiszka
Ivo van Doorn wrote: > On Wednesday 18 October 2006 15:06, Jiri Benc wrote: >> On Sat, 7 Oct 2006 11:23:15 +0200, Ivo van Doorn wrote: >>> --- a/net/d80211/ieee80211.c >>> +++ b/net/d80211/ieee80211.c >>> @@ -2075,15 +2075,15 @@ void ieee80211_if_shutdown(struct net_de >>> case IEEE80211_IF_TYP

Re: [PATCH] d80211: ieee80211_hw handlers should be allowed to sleep

2006-10-18 Thread Ivo van Doorn
On Wednesday 18 October 2006 15:06, Jiri Benc wrote: > On Sat, 7 Oct 2006 11:23:15 +0200, Ivo van Doorn wrote: > > --- a/net/d80211/ieee80211.c > > +++ b/net/d80211/ieee80211.c > > @@ -2075,15 +2075,15 @@ void ieee80211_if_shutdown(struct net_de > > case IEEE80211_IF_TYPE_STA: > > case IEEE

Re: [PATCH] d80211: ieee80211_hw handlers should be allowed to sleep

2006-10-18 Thread Jiri Benc
On Sat, 7 Oct 2006 11:23:15 +0200, Ivo van Doorn wrote: > --- a/net/d80211/ieee80211.c > +++ b/net/d80211/ieee80211.c > @@ -2075,15 +2075,15 @@ void ieee80211_if_shutdown(struct net_de > case IEEE80211_IF_TYPE_STA: > case IEEE80211_IF_TYPE_IBSS: > sdata->u.sta.state = IEEE

[PATCH] d80211: ieee80211_hw handlers should be allowed to sleep

2006-10-07 Thread Ivo van Doorn
This patch changes the ieee80211_if_sta timer structure into a workqueue. This will allow the config(), reset_tsf() and config_interface() handlers in the ieee80211_hw structure to sleep. This is especially required for USB drivers that have to sleep for all register access. Signed-off-by Jan Kisz