]> git.openpandora.org Git - pandora-kernel.git/commitdiff
iwlwifi: mvm: Fix the keep_alive calculation
authorAvri Altman <avri.altman@intel.com>
Tue, 11 Nov 2014 05:29:59 +0000 (07:29 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 23 Nov 2014 17:59:19 +0000 (19:59 +0200)
The driver must set the keep alive period regardless of power
management state. The keep alive period must be greater or equal to
both the NIC's maximum sleep period, and the listen interval.
However, we were confusing time units (TU) and msec, so fix that.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/power.c