On Thu, 10 May 2007 13:54:59 -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); Quoting Michael's comment about V3 version of your patch: > Also, this function is safe in adhoc mode.. but it most likely won't do > anything useful since all the sta entries have different addresses and > it is likely that none of them are the same as the one in > sdata->u.sta.bssid. Do you have some reason for implementing this function for IBSS mode? If not, could you return -EOPNOTSUPP in IBSS mode? Thanks, Jiri -- Jiri Benc SUSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html