iwlagn: fix PAN slot timing wrt. DTIM
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Nov 2010 02:25:49 +0000 (18:25 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 16 Nov 2010 15:46:49 +0000 (07:46 -0800)
commitefe54db8233a4b41e68cbe67ca2e30c48532078a
tree6100da86306314545734d4feea4409b8f7fddbf7
parent2b5f7a679c2ae34407f6cc9387e77b563578bfdc
iwlagn: fix PAN slot timing wrt. DTIM

When the DTIM is not 1, then the slot timing is in
some cases required to be calclulated based on the
DTIM interval instead of the beacon interval, fix
that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c