--- src/ap/hw_features.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c index a7f4eda..81caf63 100644 --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c @@ -126,19 +126,6 @@ int hostapd_get_hw_features(struct hostapd_iface *iface) /* set flag for channels we can use in current regulatory * domain */ for (j = 0; j < feature->num_channels; j++) { - /* - * Disable all channels that are marked not to allow - * IBSS operation or active scanning. In addition, - * disable all channels that require radar detection, - * since that (in addition to full DFS) is not yet - * supported. - */ - if (feature->channels[j].flag & - (HOSTAPD_CHAN_NO_IBSS | - HOSTAPD_CHAN_PASSIVE_SCAN | - HOSTAPD_CHAN_RADAR)) - feature->channels[j].flag |= - HOSTAPD_CHAN_DISABLED; if (feature->channels[j].flag & HOSTAPD_CHAN_DISABLED) continue; wpa_printf(MSG_MSGDUMP, "Allowed channel: mode=%d " -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html