On Thu, 2013-04-25 at 15:02 -0700, Jacob Minshall wrote: > + if (ies || meshid) { > + tmpies = (unsigned char *) malloc(ies_len + meshid_len); > + if (!tmpies) > + goto nla_put_failure; > + if (ies) { > + memcpy(tmpies, ies, ies_len); > + free(ies); > + } > + if (meshid) { > + memcpy(&tmpies[ies_len], meshid, meshid_len); > + free(meshid); > } In theory, I guess they should be sorted, but I suppose it doesn't really matter. 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