nl80211: Allow Android P2P functionality
authorJohannes Berg <johannes.berg@intel.com>
Tue, 25 Jun 2013 10:38:03 +0000 (13:38 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 25 Jun 2013 10:38:03 +0000 (13:38 +0300)
commit01517c8b30b554fb389216b1af7e48fba5ae1283
tree677e31b21f91c1a3699025d767ff1090f85287f9
parent6bae92e0f2720e4d2960bb57b48690243aec113b
nl80211: Allow Android P2P functionality

To support Android the kernel may have a "p2p0" netdev for a P2P Device
even though this isn't very useful, but Android requires a netdev. To
support this in the supplicant, if the interface mode is P2P_DEVICE,
re-set it to the same instead of STATION mode.

Note that this is only possible with a kernel that creates a
netdev for the P2P Device wdev.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c