Message ID | 1429572684-18131-1-git-send-email-greearb@candelatech.com |
---|---|
State | Superseded |
Headers | show |
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
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 --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