softap: Add delay after driver start, return 0 if softap was started
Change-Id: I3e155cc7c118c21d5e66163bd678104d812465de
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/SoftapController.h b/SoftapController.h
index 9dc6cce..46779a4 100644
--- a/SoftapController.h
+++ b/SoftapController.h
@@ -22,9 +22,10 @@
#include <utils/List.h>
#define SOFTAP_MAX_BUFFER_SIZE 4096
-#define AP_BSS_START_DELAY 500000
+#define AP_BSS_START_DELAY 200000
#define AP_BSS_STOP_DELAY 500000
#define AP_SET_CFG_DELAY 500000
+#define AP_DRIVER_START_DELAY 400000
class SoftapController {
char mBuf[SOFTAP_MAX_BUFFER_SIZE];