cfg80211: support configuring vif mac addr on create
authorBen Greear <greearb@candelatech.com>
Wed, 22 Oct 2014 19:23:05 +0000 (12:23 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2014 07:48:33 +0000 (08:48 +0100)
commite8f479b11268af3f206d1580f6b0d572d6ecb4f7
treecc3e07ffbe5c26c3a928dd1d59bcf3d9d1b378b8
parent9a0cb89a8aad7c04505abf88202b1dd376fc50bc
cfg80211: support configuring vif mac addr on create

This is useful when creating virtual interfaces.
Keeps udev from mucking with things it shouldn't, since
the default MAC is never seen by udev when specified on
the cmd-line during creation.

Signed-off-by: Ben Greear <greearb@candelatech.com>
[check for feature flag in nl80211 to force drivers to set it]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c