[PATCH] Setting state to COMPLETE if AP set successfully

Dan Williams dcbw at redhat.com
Thu Jul 23 10:06:07 EDT 2009


On Wed, 2009-07-22 at 23:05 +0200, Witold Sowa wrote:

Could you write a sentence or so about what the issue was and why the
patch fixes it?  Works better for Jouni so he doesn't have to make
something up for the changelog.

Dan

> ---
>  wpa_supplicant/ap.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
> index 95acd5c..0f17c26 100644
> --- a/wpa_supplicant/ap.c
> +++ b/wpa_supplicant/ap.c
> @@ -469,6 +469,7 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
>                 return -1;
>         }
> 
> +       wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
>         return 0;
>  }
> 
> --
> 1.6.0.2
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list