On Tue, 2012-12-11 at 20:37 +0100, Johannes Berg wrote: > I still don't like the lock-free stuff, I'll apply the patch below > instead. Well, modulo the bugs: > + conf = rcu_dereference_protected(ap->vif.chanctx_conf, > + lockdep_is_held(&local->chanctx_mtx)); > + if (WARN_ON(!conf)) > + goto unlock; get rid of this > - else > - netif_carrier_off(dev); > + } else { > + netif_carrier_on(dev); and don't mess up this 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