]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: disable WoWLAN if !CONFIG_PM_SLEEP
authorJohannes Berg <johannes.berg@intel.com>
Mon, 4 Jun 2012 11:43:11 +0000 (13:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jun 2012 19:27:07 +0000 (15:27 -0400)
commit2e38075f4ae7dd792e4a5e4bd546b159ff8718b6
tree90a63dbb028adc57f7c8c6c2ceac9d6fa4f21f39
parentd893865fd3cbd58cafbc0f89c8ad297013835c34
iwlwifi: disable WoWLAN if !CONFIG_PM_SLEEP

If CONFIG_PM_SLEEP is disabled, then iwlwifi doesn't
support suspend/resume handlers and thus mac80211
(correctly) refuses advertising WoWLAN. Disable
WoWLAN in the driver in this case.

Cc: stable@kernel.org
Reported-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-mac80211.c