summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40eebf2)
raw | patch | inline | side by side (parent: 40eebf2)
author | Jouni Malinen <j@w1.fi> | |
Fri, 15 Jul 2011 10:57:31 +0000 (13:57 +0300) | ||
committer | Jouni Malinen <j@w1.fi> | |
Fri, 15 Jul 2011 10:57:31 +0000 (13:57 +0300) |
The case of joining a running group is handled before this location
and the P2P client iftype is assigned at a callback function for that
case.
and the P2P client iftype is assigned at a callback function for that
case.
wpa_supplicant/p2p_supplicant.c | patch | blob | history |
index c34a28cb7fc234a4e52806d9ea6d6dddb8ac6600..28dbbe686283a164bb8bc8a2042c2b06b7e6116a 100644 (file)
/* Prepare to add a new interface for the group */
iftype = WPA_IF_P2P_GROUP;
- if (join)
- iftype = WPA_IF_P2P_CLIENT;
- else if (go_intent == 15)
+ if (go_intent == 15)
iftype = WPA_IF_P2P_GO;
if (wpas_p2p_add_group_interface(wpa_s, iftype) < 0) {
wpa_printf(MSG_ERROR, "P2P: Failed to allocate a new "