iwlwifi: properly handle device_set_wakeup_enable
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 20:54:25 +0000 (22:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:32:13 +0000 (15:32 -0400)
commit76ed2edd5b2143856915560accf54ca9c1a4c792
tree4d5e5dd4057a39a84c2ab47bc2be62edecb5461c
parentff110c8f93cb7e2bd83f52a176e33c3573163f0a
iwlwifi: properly handle device_set_wakeup_enable

This is intended to be set whenever wakeup will be
needed upon suspend, not only when suspending, so
use the new callbacks to set it then.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
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