On Mon, 2014-12-08 at 12:07 +0200, Vadim Kochan wrote: > You meant here ? > > net/wireless/core.c : static int cfg80211_netdev_notifier_call(struct > notifier_block *nb, > unsigned long state, void *ptr) > { > > ... > switch (state) { > case NETDEV_POST_INIT: > SET_NETDEV_DEVTYPE(dev, &wiphy_type); > break; > case NETDEV_REGISTER: > ... > dev->rtnl_link_ops = &wireless_link_ops; > ... > } Well it seems it could go more with the SET_NETDEV_TYPE()? 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