[PATCH] Android: Skip explicit conf_p2p_dev loading for main interface

Jouni Malinen j at w1.fi
Sat Oct 4 16:21:06 EDT 2014


On Fri, Oct 03, 2014 at 10:50:42AM -0700, Dmitry Shmidt wrote:
> On Fri, Oct 3, 2014 at 8:03 AM, Jouni Malinen <j at w1.fi> wrote:
> > I'm not sure I've ever fully understood how this -m argument would be
> > used. Anyway, this does not look correct. While going through the
> > implementation, I could not understand why conf_p2p_dev is added on top
> > of the per-interface configuration (wpa_s->confname) rather than using
> > conf_p2p_dev to replace wpa_s->confname. I've never used this -m
> > argument myself, so don't know what may or may not work if this is done.
> > Anyway, the following changes would look much simpler way of doing this
> > (and the still pending item of different configuration method would
> > likely be even cleaner).
...

> This patch works for me, thanks!

Thanks. I applied this now. If there are other users of -m that have
issues with the change, please let me know and lets figure out a more
suitable solution to fit all existing users.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list