iwlagn: fix slot programming
commit325a7ddf7b27ed3ded3d7fb7c3313266e510a978
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Sep 2011 22:14:55 +0000 (22 15:14 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:08 +0000 (27 14:34 -0400)
tree69675f6401c4332894ed92e5f019e6a2de9b383a
parent8bd2c1ead5e2b67270aedfc95dcac8d6955db4e5
iwlagn: fix slot programming

When an AP mode interface is added with a DTIM
period of two, the slot programming is wrong.
Fix it by taking into account the DTIM period.

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