iwlwifi: mvm: set keepalive period regardless of PM state
authorAlexander Bondar <alexander.bondar@intel.com>
Tue, 5 Mar 2013 12:01:27 +0000 (14:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Apr 2013 20:49:16 +0000 (22:49 +0200)
commite16cf7ec6ffbcf96ef3c322b76ff90c2611254d9
treea0b038df72154372cf42f301ccb3981c4ef31e35
parent9a6130485ec929a97eaef3f55aa40055a9c6b2b3
iwlwifi: mvm: set keepalive period regardless of PM state

The firmware starts sending nulldata frames for keepalive immediately
after association, regardless of power management state. The driver
thus needs to configure keep alive period unconditionally.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api-power.h
drivers/net/wireless/iwlwifi/mvm/power.c