On Thu, 2010-09-16 at 17:34 +0900, Bruno Randolf wrote: > Enable WME QoS in IBSS mode by adding a WME information element to beacons and > probe respones and by checking for it and marking stations as WME capable if it > is present. > rcu_read_unlock(); > - ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, > - supp_rates, GFP_KERNEL); > + > + sta = ieee80211_ibss_add_sta(sdata, mgmt->bssid, > + mgmt->sa, supp_rates, GFP_KERNEL); > } > + if (sta && elems->wmm_info) > + set_sta_flags(sta, WLAN_STA_WME); NACK, this is obviously racy. johannes -- 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