[PATCH] supplicant: Document p2p_disable option.

Floris Bos bos
Tue Apr 21 01:56:53 PDT 2015


On 04/21/2015 01:31 AM, greearb at candelatech.com wrote:
> From: Ben Greear <greearb at candelatech.com>
>
> I needed this option to disable p2p on a buggy system.
> Document this so someone else finds it quicker next time!
>
> Signed-off-by: Ben Greear <greearb at candelatech.com>
> ---
>   wpa_supplicant/wpa_supplicant.conf | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
> index 4b891e1..143b99a 100644
> --- a/wpa_supplicant/wpa_supplicant.conf
> +++ b/wpa_supplicant/wpa_supplicant.conf
> @@ -297,6 +297,10 @@ fast_reauth=1
>   # format: <backend name>[:<optional backend parameters>]
>   #ext_password_backend=test:pw1=password|pw2=testing
>   
> +
> +# Disable P2P functionality
> +# p2p_disable=1
> +
>   # Timeout in seconds to detect STA inactivity (default: 300 seconds)
>   #
>   # This timeout value is used in P2P GO mode to clean up

Noticed the other day that even when specifying p2p_disable=1 it still 
creates a p2p interface.

Don't know if that is a bug, or intended behaviour, and I should use 
another option to disable the interface.
If the last, it might be good to document what the option does and does 
not disable.



Yours sincerely,

Floris Bos




More information about the Hostap mailing list