Thanks. It worked after I disabled the use of a separate group interface.<div><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 4:03 AM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Nov 18, 2012 at 08:08:20PM -0600, Chao Xu wrote:<br>
&gt; I&#39;m running the latest wpa_supplicant. My wireless adapter uses ar9170<br>
&gt; chipset. I installed the carl9170 driver. When I tried the p2p_gorup_add,<br>
&gt; the wpa_cli returned this:<br>
&gt; p2p_group_add<br>
&gt; FAIL<br>
&gt; &lt;5&gt;P2P: Failed to initialize group interface<br>
<br>
</div>It looks like the driver rejected this configuration for some reason. I<br>
have not tested P2P with carl9170, so I don&#39;t know what to expect from<br>
that.<br>
<div class="im"><br>
&gt; nl80211: Create interface iftype 9 (P2P_GO)<br>
&gt; nl80211: New interface p2p-wlan0-0 created: ifindex=10<br>
&gt; nl80211: Allocate new address for P2P group interface<br>
&gt; nl80211: Assigned new P2P Interface Address 02:1f:33:f8:0f:23<br>
&gt; P2P: Created pending virtual interface p2p-wlan0-0 addr 02:1f:33:f8:0f:23<br>
<br>
</div><div class="im">&gt; Could not set interface p2p-wlan0-0 flags (UP): Device or resource busy<br>
&gt; nl80211: Could not set interface &#39;p2p-wlan0-0&#39; UP<br>
<br>
</div><div class="im">&gt; What&#39;s the possible reason that prevents the setup of the interface<br>
&gt; p2p-wlan0-0? I turned off the network-manager when I run wpa_supplicant to<br>
&gt; prevent any interference. Thank you!<br>
<br>
</div>Do you need support for concurrent operations (station + P2P interface<br>
at the same time)? If not, you could test what happens if you disable<br>
use of a separate group interface by adding this to wpa_supplicant<br>
configuration file:<br>
p2p_no_group_iface=1<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Regards,</div>
<div>Chao Xu</div><br>
</div>