On Tue, 2012-04-03 at 15:22 +0300, Eliad Peller wrote: > > @@ -266,6 +319,12 @@ static int ieee80211_do_open(struct net_ > > break; > > } > > > > + if (local->monitors == 0 && local->open_count == 0) { > > + res = ieee80211_add_virtual_monitor(local); > > + if (res) > > + return res; > > you probably have to goto instead (to clean up properly - drv_stop etc.). Hm, good catch, this is a bit confusing. I'll do that, and then post another patch to clean up the error paths a bit. 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