On Sun, 2011-09-25 at 20:06 +0300, Eliad Peller wrote: > +++ b/net/wireless/nl80211.c > @@ -1235,6 +1235,11 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info) > goto bad_res; > } > > + if (!netdev) { > + result = -EINVAL; > + goto bad_res; > + } > + I'm a little worried about this change, but I don't think we have a choice. Technically, it is an API change. I believe that no existing applications (hostapd is probably the only using this) make use of this with just the phy (and not the netdev). 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