I was just looking at this because I'm changing it from returning a netdev to struct wireless_dev, but I notice that you're returning the wrong thing on errors -- you need to return an ERR_PTR(), not NULL, otherwise cfg80211 will crash. 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