[PATCH v5 2/4] mac80211: set NET_NAME_USER for user-space created ifs

2014-03-26 Thread David Herrmann
The nl80211 interface allows creating new netdevs from user-space. The name is *always* provided by user-space, so we should set NET_NAME_USER to provide that information via sysfs. But we must not set it for the default wlan%d names as these are kernel-provided names. This allows udev to not

[PATCH v5 2/4] mac80211: set NET_NAME_USER for user-space created ifs

2014-03-26 Thread David Herrmann
The nl80211 interface allows creating new netdevs from user-space. The name is *always* provided by user-space, so we should set NET_NAME_USER to provide that information via sysfs. But we must not set it for the default wlan%d names as these are kernel-provided names. This allows udev to not