On Mon, 2007-09-24 at 15:20 -0400, Michael Wu wrote: > On Monday 24 September 2007 13:20, Johannes Berg wrote: > > On Mon, 2007-09-24 at 18:41 +0200, Michael Buesch wrote: > > > - if (local->ops->config) > > > + if (local->open_count) > > > ret = local->ops->config(local_to_hw(local), &local->hw.conf); > > Isn't this racy? > > > Shouldn't be. Some callers are holding rtnl (ieee80211_open, > ieee80211_ioctl*). Other callers (in ieee80211_sta.c) cannot run if the > device is down. Good point. I guess the patch is fine then. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part