<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
I've tried calling disconnect() before removing the network, but I get the same result. Calling disconnect() puts the state into interface_disabled, and I have to restart wpa_supplicant in order to recover.<BR>
<BR>
On Mon, 2015-04-27 at 21:58 +0200, Floris Bos wrote:
<BLOCKQUOTE TYPE=CITE>
On 04/27/2015 09:44 PM, Marlon Smith wrote:<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
I'm using wpa_supplicant with nl80211 and the rt2800usb driver in my application, which allows user to connect to a network or create an access point. I'm using the dbus interface of wpa_supplicant to control the connection.<BR>
<BR>
The user is able to enable/disable the connection via a menu, and when they do I use AddNetwork and SelectNetwork to connect, and RemoveNetwork to disconnect.<BR>
</BLOCKQUOTE>
<BR>
Might want to use Disconnect() to disconnect.<BR>
<BR>
<BR>
Yours sincerely,<BR>
<BR>
Floris Bos<BR>
<BR>
<PRE>
_______________________________________________
HostAP mailing list
<A HREF="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</A>
<A HREF="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>