I really dislike double pointers. Oh well. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- Just hit it yesterday, oopses the kernel under RNTL so you're screwed. Not nice. --- wireless-dev.orig/net/wireless/nl80211.c 2007-08-11 10:19:57.999563528 +0200 +++ wireless-dev/net/wireless/nl80211.c 2007-08-11 10:19:58.559563528 +0200 @@ -55,7 +55,7 @@ static int get_drv_dev_by_info_ifindex(s ifindex = nla_get_u32(info->attrs[NL80211_ATTR_IFINDEX]); *dev = dev_get_by_index(ifindex); - if (!dev) + if (!*dev) return -ENODEV; *drv = cfg80211_get_dev_from_ifindex(ifindex); - 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