diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-09-17 11:55:28 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-19 18:45:45 +0100 |
commit | 8cd4d4563ef0a518002c4a8f47dd950afe386ea8 (patch) | |
tree | 11aac072065c8eeaa882b3386e9368107defa12f /net/wireless/core.h | |
parent | 256da02d1806c740be97576a5e8548d658858319 (diff) | |
download | linux-stable-8cd4d4563ef0a518002c4a8f47dd950afe386ea8.tar.gz linux-stable-8cd4d4563ef0a518002c4a8f47dd950afe386ea8.tar.bz2 linux-stable-8cd4d4563ef0a518002c4a8f47dd950afe386ea8.zip |
cfg80211: add wowlan net-detect support
Add a new WoWLAN API to enable net-detect as a wake up trigger.
Net-detect allows the device to scan in the background while the
host is asleep to wake up the host system when a matching network
is found.
Reuse the scheduled scan attributes to specify how the scan is
performed while suspended and the matches that will trigger a
wake event.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 61ee664cf2bd..faa5b1609aae 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -111,6 +111,7 @@ cfg80211_rdev_free_wowlan(struct cfg80211_registered_device *rdev) rdev->wiphy.wowlan_config->tcp->sock) sock_release(rdev->wiphy.wowlan_config->tcp->sock); kfree(rdev->wiphy.wowlan_config->tcp); + kfree(rdev->wiphy.wowlan_config->nd_config); kfree(rdev->wiphy.wowlan_config); #endif } |