IEEE80211_NAN_MAX_CHANNELS
struct ieee80211_nan_channel channels[IEEE80211_NAN_MAX_CHANNELS];
DECLARE_BITMAP(removed_channels, IEEE80211_NAN_MAX_CHANNELS);
struct ieee80211_nan_channel *sched_idx_to_chan[IEEE80211_NAN_MAX_CHANNELS] = {};
if (sched->n_channels > IEEE80211_NAN_MAX_CHANNELS)
bitmap_zero(sdata->u.nan.removed_channels, IEEE80211_NAN_MAX_CHANNELS);
bitmap_zero(sdata->u.nan.removed_channels, IEEE80211_NAN_MAX_CHANNELS);
bitmap_zero(sdata->u.nan.removed_channels, IEEE80211_NAN_MAX_CHANNELS);
bitmap_zero(sdata->u.nan.removed_channels, IEEE80211_NAN_MAX_CHANNELS);
for (int i = 0; i < IEEE80211_NAN_MAX_CHANNELS; i++) {