Applet keeps connected always



Hi,
I am developing the driver to support NM. 
The driver can get connected with all kinds of security networks now.
But, I have a question , how to tell NM that the current network disconnected.
Then, it should try to reconnect or select another network.
With NetworkManager --no-daemon, I found the daemon will try to reconnect.
But, the applet (icon) is shown connected always even I unplug the AP.
I tried 'netif_carrier_off()' , wireless_send_event with SIOCGIWAP with BSSID=zeros.
They can't make it to show correct icon.

Can anyone point how to do that ?

Thanks


      _________________________________________________________________________________________________________
想知道無聊生活如何大變身嘛? http://tw.promote.mail.yahoo.com/dc/change.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]