]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: track beacon interval sent to device
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2011 08:59:22 +0000 (01:59 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 21 Jul 2011 14:31:54 +0000 (07:31 -0700)
commit8eb9f80d3003a38f1d5231dd0db1ed8aaeb6cb45
tree5c3b6f5ec3f763cf5bc66fde0568ed40c6fc0750
parent5696f6fe7a96aa5c73a2e5cff9ce36684e46dff2
iwlagn: track beacon interval sent to device

Sometimes, when mac80211 changes the beacon
interval or when it isn't yet set in mac80211
before association, the uCode will sysassert
because we send it confusing RXON timing vs.
PAN parameters. To fix this, track the last
beacon interval sent to the device and use
that in PAN parameter calculations.

This fixes a bug during P2P group formation
as a client (and possibly association to a
regular AP) while connected to another AP.

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-rxon.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h