nl80211: ifdef WoWLAN related policies
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Oct 2016 06:04:07 +0000 (08:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 17 Oct 2016 06:04:07 +0000 (08:04 +0200)
commitf83ace3b1ed4c3032c963f9f1a46985fc797633c
treedd57c31ae335501dbf8aba7ad6cd020e9bef6978
parent1609d18de655e243d2db0f8fa21a3830ff0ab89f
nl80211: ifdef WoWLAN related policies

To avoid unused variable warnings when CONFIG_PM isn't set,
add the appropriate ifdef to the policies that are only used
for WoWLAN, which can only be invoked when CONFIG_PM is set.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c