]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7f9c848d509bd76b438e0f50a2ae8acce555dc6
treedd57c31ae335501dbf8aba7ad6cd020e9bef6978
parentd7c148d4986eb325595b16f90f69489cf55b4975
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