adaptation for bkap

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
154:357d698334ba
Parent:
153:661dfc1a3088
Child:
156:662bb3992a03
--- a/source/BlueNRGGap.cpp	Wed Oct 28 08:00:53 2015 +0100
+++ b/source/BlueNRGGap.cpp	Wed Oct 28 08:04:25 2015 +0100
@@ -1021,17 +1021,14 @@
     PRINTF("DISCOVERY_COMPLETE\n\r");
     _scanning = false;
 
-    // We need to wait for a while before creating a connection due to
-    // BlueNRG process queue handling
+    // FIXME: We need to wait for a while before creating a connection
+    // due to BlueNRG process queue handling
     Clock_Wait(100);
 
     if(_connecting) {
       makeConnection();  
     } else {
       PRINTF("re-startRadioScan\n\r");
-      // FIXME: We need to wait for a while before creating a connection
-      // due to BlueNRG process queue handling
-      Clock_Wait(100);
       startRadioScan(_scanningParams);
     }