mac80211: Support multiple CSA counters
[deliverable/linux.git] / net / mac80211 / ibss.c
index ff4d4155a84d26f982d820858dddf206a49dbba7..1bbac94da58d6a33218e8dc7eb474a7a5d26122a 100644 (file)
@@ -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;
        }
 
This page took 0.052801 seconds and 5 git commands to generate.