On Wed, 2011-03-16 at 17:28 -0700, Sean Robinson wrote: > libnl supports callbacks for send and recv. This patch enables callbacks > for sent messages and uses the debug callback for the --debug option, as > the recv callbacks do. I can't apply this, the patch is corrupted. > cb = nl_cb_alloc(iw_debug ? NL_CB_DEBUG : NL_CB_DEFAULT); > - if (!cb) { > + s_cb = nl_cb_alloc(iw_debug ? NL_CB_DEBUG : NL_CB_DEFAULT); > + if (!(cb && s_cb)) { I think (!cb || !s_cb) would be easier to read. 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