diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-18 12:59:22 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-21 18:31:54 +0400 |
commit | bbb05cb55a1b57003b17d47b5a7ac809bab60f80 (patch) | |
tree | 5c3b6f5ec3f763cf5bc66fde0568ed40c6fc0750 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 21489ec2f18b56eaebc70c0dae928c1adae4c5f5 (diff) | |
download | linux-bbb05cb55a1b57003b17d47b5a7ac809bab60f80.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index fc2387342456..8da38bef356f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1152,6 +1152,8 @@ struct iwl_rxon_context { __le32 station_flags; + int beacon_int; + struct { bool non_gf_sta_present; u8 protection; |