]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix slot programming
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Sep 2011 22:14:55 +0000 (15:14 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:08 +0000 (14:34 -0400)
commit0c0454d19cca30f8b5892e1ac6729723e7475e46
tree69675f6401c4332894ed92e5f019e6a2de9b383a
parent9bf1941fffd26fc6a763c1747bb06c48cb6afe7a
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