aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/Kconfig29
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c2
2 files changed, 16 insertions, 15 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index 565611eef0d4..db6c6e528022 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -113,20 +113,21 @@ config IWLWIFI_DEVICE_TESTMODE
113 generic netlink message via NL80211_TESTMODE channel. 113 generic netlink message via NL80211_TESTMODE channel.
114 114
115config IWLWIFI_P2P 115config IWLWIFI_P2P
116 bool "iwlwifi experimental P2P support" 116 def_bool y
117 depends on IWLWIFI 117 bool "iwlwifi experimental P2P support"
118 help 118 depends on IWLWIFI
119 This option enables experimental P2P support for some devices 119 help
120 based on microcode support. Since P2P support is still under 120 This option enables experimental P2P support for some devices
121 development, this option may even enable it for some devices 121 based on microcode support. Since P2P support is still under
122 now that turn out to not support it in the future due to 122 development, this option may even enable it for some devices
123 microcode restrictions. 123 now that turn out to not support it in the future due to
124 124 microcode restrictions.
125 To determine if your microcode supports the experimental P2P 125
126 offered by this option, check if the driver advertises AP 126 To determine if your microcode supports the experimental P2P
127 support when it is loaded. 127 offered by this option, check if the driver advertises AP
128 128 support when it is loaded.
129 Say Y only if you want to experiment with P2P. 129
130 Say Y only if you want to experiment with P2P.
130 131
131config IWLWIFI_EXPERIMENTAL_MFP 132config IWLWIFI_EXPERIMENTAL_MFP
132 bool "support MFP (802.11w) even if uCode doesn't advertise" 133 bool "support MFP (802.11w) even if uCode doesn't advertise"
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 09367d430120..500eaa3cd642 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1564,7 +1564,7 @@ static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans,
1564 ucode_flags = fw->ucode_capa.flags; 1564 ucode_flags = fw->ucode_capa.flags;
1565 1565
1566#ifndef CONFIG_IWLWIFI_P2P 1566#ifndef CONFIG_IWLWIFI_P2P
1567 ucode_flags &= ~IWL_UCODE_TLV_FLAGS_PAN; 1567 ucode_flags &= ~IWL_UCODE_TLV_FLAGS_P2P;
1568#endif 1568#endif
1569 1569
1570 if (ucode_flags & IWL_UCODE_TLV_FLAGS_PAN) { 1570 if (ucode_flags & IWL_UCODE_TLV_FLAGS_PAN) {