[PATCH] Revert "nl80211: Use global netlink rtm event object"
greearb at candelatech.com
Fri Oct 28 12:55:22 EDT 2011
On 10/28/2011 09:42 AM, Jouni Malinen wrote:
> On Fri, Oct 28, 2011 at 09:09:02AM -0700, Ben Greear wrote:
>> I did test it, but not with p2p (and bundled with the other pending
>> global-netlink patches). Any idea what is why
>> this breaks p2p? Are there any directions anywhere for how
>> to set up a p2p environment for testing?
> To be more exact, this breaks AP (including P2P GO) mode operations
> with wpa_supplicant because of EVENT_INTERFACE_DISABLED event getting
> generated at a particularly inconvenient time. Currently, that makes
> wpa_supplicant start scanning to find a station mode connection when the
> interface "comes back" (i.e., immediately after that on the next netlink
> event). This is obviously wrong behavior and should be fixed somehow
> There are instructions for P2P somewhere.. Anyway, the easiest way of
> showing this particular regression is by adding following to
> and using following wpa_supplicant.conf file:
> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=admin
> and run "wpa_cli p2p_group_add"
> That will create p2p-wlan0-0 vif that is supposed to be in AP/GO mode,
> but it gets moved to station mode when the interface-disabled event is
I don't see how that patch would change any behaviour like this,
but I'll work on reproducing the problem and see what I can learn.
Thanks for the details.
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the HostAP