On Thu, Jan 31, 2013 at 08:56:24PM -0800, Thomas Pedersen wrote: > + /* NOTE: the mesh ID IE won't be in order */
I think it should be fixed from a QOI standpoint. So, how about merge_ies()? :) > + pos = skb_put(skb, 2 + ssid_len); > + *pos++ = WLAN_EID_MESH_ID; > + *pos++ = ssid_len; > + if (ssid_len) > + memcpy(pos, ssid, ssid_len); You could just do one call to skb_put with all the bytes you need, and memcpy() works with ssid_len == 0. -- Bob Copeland %% www.bobcopeland.com _______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
