Enhance WPS

- Add a cancel API
- Add more error reporting on WPS
- Fix network status reporting that showed up with new implementation

Change-Id: I499796c80d16d18df95fb702d029aa7e7283b603
This commit is contained in:
Irfan Sheriff
2012-02-28 17:03:56 -08:00
parent 1a7dd039f1
commit 86a5f5b9af
7 changed files with 154 additions and 26 deletions

View File

@ -297,6 +297,10 @@ public class WifiService extends IWifiManager.Stub {
mWifiStateMachine.sendMessage(Message.obtain(msg));
break;
}
case WifiManager.CANCEL_WPS: {
mWifiStateMachine.sendMessage(Message.obtain(msg));
break;
}
case WifiManager.DISABLE_NETWORK: {
mWifiStateMachine.sendMessage(Message.obtain(msg));
break;