diff options
author | Alexander Bondar <alexander.bondar@intel.com> | 2013-05-16 10:34:17 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-05 03:12:20 -0400 |
commit | 989c6505cdda587f87573bb6828f23964dd3d19b (patch) | |
tree | 5804f7d8569273db24015655b16cd3e703756053 /drivers | |
parent | 482a9c74fa17c5d584995c19e1a36eaf710d1193 (diff) |
mac80211: Use suitable semantics for beacon availability indication
Currently beacon availability upon association is marked by have_beacon
flag of assoc_data structure that becomes unavailable when association
completes. However beacon availability indication is required also after
association to inform a driver. Currently dtim_period parameter is used
for this purpose. Move have_beacon flag to another structure, persistant
throughout a interface's life cycle. Use suitable sematics for beacon
availability indication.
Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
[fix another instance of BSS_CHANGED_DTIM_PERIOD in docs]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index b807ddac650c..c942eb0bbbeb 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c | |||
@@ -785,7 +785,7 @@ static void iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, | |||
785 | if (ret) | 785 | if (ret) |
786 | IWL_ERR(mvm, "failed to update quotas\n"); | 786 | IWL_ERR(mvm, "failed to update quotas\n"); |
787 | } | 787 | } |
788 | } else if (changes & BSS_CHANGED_DTIM_PERIOD) { | 788 | } else if (changes & BSS_CHANGED_BEACON_INFO) { |
789 | /* | 789 | /* |
790 | * We received a beacon _after_ association so | 790 | * We received a beacon _after_ association so |
791 | * remove the session protection. | 791 | * remove the session protection. |