diff mbox

supplicant: Document p2p_disable option.

Message ID 1429572684-18131-1-git-send-email-greearb@candelatech.com
State Superseded
Headers show

Commit Message

Ben Greear April 20, 2015, 11:31 p.m. UTC
From: Ben Greear <greearb@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@candelatech.com>
---
 wpa_supplicant/wpa_supplicant.conf | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Floris Bos April 21, 2015, 8:56 a.m. UTC | #1
On 04/21/2015 01:31 AM, greearb@candelatech.com wrote:
> From: Ben Greear <greearb@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@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
Peer, Ilan April 22, 2015, 10:15 a.m. UTC | #2
FWIW, I've just send a patch to the mailing that should fix this.

Regards,

Ilan.

> -----Original Message-----
> From: hostap-bounces@lists.shmoo.com [mailto:hostap-
> bounces@lists.shmoo.com] On Behalf Of Floris Bos
> Sent: Tuesday, April 21, 2015 11:57
> To: hostap@lists.shmoo.com
> Subject: Re: [PATCH] supplicant: Document p2p_disable option.
> 
> On 04/21/2015 01:31 AM, greearb@candelatech.com wrote:
> > From: Ben Greear <greearb@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@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
> 
> _______________________________________________
> HostAP mailing list
> HostAP@lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
diff mbox

Patch

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