On 04/29/2013 02:26 PM, Johannes Berg wrote:
From: Johannes Berg <johannes.berg@xxxxxxxxx> Android requires a "p2p0" netdev to exist for P2P Device functionality, and will even set it "UP" to start the P2P Device functionality.
You can blame Broadcom for that ;-)
This is a hack to provide it so not only is Android happy but also the current version of wpa_supplicant can work with P2P-Device functionality without needing changes to support the P2P-Device commands, just a little bit to not attempt to change the interface type to station.
Reading the subject I was going to say it is not only Android workaround, but the commit message also covers non-android use-case.
I will give it another spin. What changed compared to v3. Regards, Arend
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- include/net/cfg80211.h | 4 ++ net/wireless/Kconfig | 7 +++ net/wireless/Makefile | 1 + net/wireless/android.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++++ net/wireless/core.c | 14 +++++ net/wireless/core.h | 6 ++ net/wireless/nl80211.c | 63 +++++++++++++++++++++ 7 files changed, 242 insertions(+) create mode 100644 net/wireless/android.c
-- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html