Re: [PATCH v2] wifi: support ap-mode with wpa_supplicant



On Mon, 2012-09-24 at 12:21 +0200, Jan Lübbe wrote:
> On Mon, 2012-09-24 at 12:10 +0200, Jan Lübbe wrote:
> > I noticed that for checking if wpa_supplicants supports AP mode, NM
> > needs a wpa_supplicant build from their master branch (not 1.0).
> > 
> > When using it with this wpa_supplicant, AP mode still works for me.
> 
> If I revert 6d726622069338652326d9a0057b07b100d4f79a (wifi: detect
> whether supplicant supports AP mode or not), it also works with
> wpa_supplicant 1.0.

Darn, I'd hoped 1.0 would indicate its capabilities, but I unfortunately
didn't check.  I suppose what we do here instead is use the "has_apmode"
variable to fine-tune the error message, but still allow AP connections
to be attempted even if we don't know for sure that the supplicant
supports them.  If it doesn't, we just can't return a more specific
error, but I guess that's the best we can do.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]