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. -Michael Wu
Attachment:
pgpA56vznK6Vy.pgp
Description: PGP signature