mesh: Set driver capability flags to mesh interface
[mech_eap.git] / wpa_supplicant / mesh.c
index 4a6924b..3ebf058 100644 (file)
@@ -134,6 +134,7 @@ static int wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s,
        if (!ifmsh)
                return -ENOMEM;
 
+       ifmsh->drv_flags = wpa_s->drv_flags;
        ifmsh->num_bss = 1;
        ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss,
                               sizeof(struct hostapd_data *));