HT: Let the driver advertise its supported SMPS modes for AP mode
[mech_eap.git] / hostapd / main.c
index a9d91b9..5a47711 100644 (file)
@@ -213,6 +213,7 @@ static int hostapd_driver_init(struct hostapd_iface *iface)
        if (hapd->driver->get_capa &&
            hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
                iface->drv_flags = capa.flags;
+               iface->smps_modes = capa.smps_modes;
                iface->probe_resp_offloads = capa.probe_resp_offloads;
                iface->extended_capa = capa.extended_capa;
                iface->extended_capa_mask = capa.extended_capa_mask;