On Thu, 2007-05-03 at 20:21 -0500, Larry Finger wrote: > + sdata = IEEE80211_DEV_TO_SUB_IF(dev); > + if (sdata->type == IEEE80211_IF_TYPE_STA || > + sdata->type == IEEE80211_IF_TYPE_IBSS) > + sta = sta_info_get(local, sdata->u.sta.bssid); > + else > + return -EOPNOTSUPP; Is this racy if somebody changes the type of the interface at the same time? Would a fix be to sta_info_get() beforehand? I really don't know without digging the code, Jiri, Michael? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part