diff options
author | Ayala Beker <ayala.beker@intel.com> | 2016-09-20 10:31:14 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-09-30 07:21:19 -0400 |
commit | 708d50edb149fe488c7c96f59ba9a89a64985cf2 (patch) | |
tree | a6ce214b208019439758c9a326beb4010308a6e4 /net/mac80211/util.c | |
parent | cb3b7d87652aeb37cfb5295a6157a3280dae10cb (diff) |
mac80211: add boilerplate code for start / stop NAN
This code doesn't do much besides allowing to start and
stop the vif.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 2c78541f695c..5b57fcaaec9b 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1209,7 +1209,8 @@ void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata, | |||
1209 | } | 1209 | } |
1210 | 1210 | ||
1211 | if (sdata->vif.type != NL80211_IFTYPE_MONITOR && | 1211 | if (sdata->vif.type != NL80211_IFTYPE_MONITOR && |
1212 | sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE) { | 1212 | sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && |
1213 | sdata->vif.type != NL80211_IFTYPE_NAN) { | ||
1213 | sdata->vif.bss_conf.qos = enable_qos; | 1214 | sdata->vif.bss_conf.qos = enable_qos; |
1214 | if (bss_notify) | 1215 | if (bss_notify) |
1215 | ieee80211_bss_info_change_notify(sdata, | 1216 | ieee80211_bss_info_change_notify(sdata, |