On Fri, 2014-11-07 at 10:22 +0200, Patrik Flykt wrote: > +static int hwsim_dump_radio_nl(struct sk_buff *skb, > + struct netlink_callback *cb) > +{ > + struct mac80211_hwsim_data *data = NULL; > + > + spin_lock_bh(&hwsim_radio_lock); > + > + list_for_each_entry(data, &hwsim_radios, list) > + mac80211_hwsim_get_radio(skb, data, > + NETLINK_CB(cb->skb).portid, > + cb->nlh->nlmsg_seq, cb, NLM_F_MULTI); > + > + spin_unlock_bh(&hwsim_radio_lock); Err, I don't think this is how dump works? Try dumping a few hundred radios this way. 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