driver_test: Claim AP mode capability for wpa_supplicant
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 10 Sep 2009 13:30:35 +0000 (16:30 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 10 Sep 2009 13:30:35 +0000 (16:30 +0300)
src/drivers/driver_test.c

index 0e74efc..50bdcf6 100644 (file)
@@ -2243,6 +2243,7 @@ static int wpa_driver_test_get_capa(void *priv, struct wpa_driver_capa *capa)
                WPA_DRIVER_AUTH_LEAP;
        if (drv->use_mlme)
                capa->flags |= WPA_DRIVER_FLAGS_USER_SPACE_MLME;
+       capa->flags |= WPA_DRIVER_FLAGS_AP;
        capa->max_scan_ssids = 2;
 
        return 0;