[PATCH] Revert "nl80211: Use global netlink rtm event object"
j at w1.fi
Fri Oct 28 12:42:51 EDT 2011
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:
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
Jouni Malinen PGP id EFC895FA
More information about the HostAP