aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-10 09:55:01 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-11 12:32:52 -0500
commit79d3eef89190ee0a7ee585e3949873241bc382e3 (patch)
tree69da0c1b02fd45dea359624c5d876412d22dd40d /drivers/net/wireless/iwlwifi/iwl-agn.c
parent868a5f719d730866564d9bd73a8f4a8d89bdc71a (diff)
iwlagn: add P2P NoA to probe responses
Whether to use NoA or not is entire controlled by the uCode right now, and it also adds the attribute to beacons. We do need to add it to probe responses in the driver though. Keep track of the NoA notification from the uCode and add the data to probe responses when such are transmitted. Use RCU to manage the lifetime. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 9d463cf40380..3c0f4e6c9357 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3069,6 +3069,7 @@ static void iwl_uninit_drv(struct iwl_priv *priv)
3069 kmem_cache_destroy(priv->tx_cmd_pool); 3069 kmem_cache_destroy(priv->tx_cmd_pool);
3070 kfree(priv->scan_cmd); 3070 kfree(priv->scan_cmd);
3071 kfree(priv->beacon_cmd); 3071 kfree(priv->beacon_cmd);
3072 kfree(rcu_dereference_raw(priv->noa_data));
3072#ifdef CONFIG_IWLWIFI_DEBUGFS 3073#ifdef CONFIG_IWLWIFI_DEBUGFS
3073 kfree(priv->wowlan_sram); 3074 kfree(priv->wowlan_sram);
3074#endif 3075#endif