diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2014-05-09 14:11:47 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-15 15:00:58 +0200 |
commit | 0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5 (patch) | |
tree | 20bfaeeb61e088d3004d4667bfb4285000a30c9a /net/mac80211/ibss.c | |
parent | 9a774c78e2114c7e8605e3a168ccd552cbe3d922 (diff) | |
download | linux-stable-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.tar.gz linux-stable-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.tar.bz2 linux-stable-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.zip |
mac80211: Support multiple CSA counters
Support up to IEEE80211_MAX_CSA_COUNTERS_NUM csa counters.
This is defined to be 2 now, to support both CSA and eCSA
counters.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index ff4d4155a84d..1bbac94da58d 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -143,7 +143,7 @@ ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata, *pos++ = csa_settings->block_tx ? 1 : 0; *pos++ = ieee80211_frequency_to_channel( csa_settings->chandef.chan->center_freq); - sdata->csa_counter_offset_beacon = (pos - presp->head); + sdata->csa_counter_offset_beacon[0] = (pos - presp->head); *pos++ = csa_settings->count; } |