diff options
author | Ben Greear <greearb@candelatech.com> | 2014-10-22 12:23:06 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-10-27 08:48:34 +0100 |
commit | b5dfae020b3539feaa014d3b6152f48660c2d75b (patch) | |
tree | 1d9195c1d0c2e35f8560e10ae626ffe9f8734941 /net/mac80211/main.c | |
parent | e8f479b11268af3f206d1580f6b0d572d6ecb4f7 (diff) | |
download | linux-stable-b5dfae020b3539feaa014d3b6152f48660c2d75b.tar.gz linux-stable-b5dfae020b3539feaa014d3b6152f48660c2d75b.tar.bz2 linux-stable-b5dfae020b3539feaa014d3b6152f48660c2d75b.zip |
mac80211: support creating vifs with specified mac address
This is useful when creating virtual interfaces.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 7d40e3f0a77b..282a4f36eb92 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -542,6 +542,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, NL80211_FEATURE_SAE | NL80211_FEATURE_HT_IBSS | NL80211_FEATURE_VIF_TXPOWER | + NL80211_FEATURE_MAC_ON_CREATE | NL80211_FEATURE_USERSPACE_MPM; if (!ops->hw_scan) |