Esp8266 automatically creates a wifi without even calling WiFi.softAP()
<p>begin(Ssid, Password) function to connect to a network. But a weird thing is happening. Even tough my module connects successfully to the wifi it starts broadcasting a wifi named ESP_D3F2A. I have never initialized it to AP mode. I want to get rid of this wifiAp, any solutions?</p>

<p>I am using arduino IDE to program esp8266.</p>

<p>Code Snippets :</p>

<pre><code>bool connectWifi(){

   WiFi.begin(Ssid, Password); //SSID and PASS of wifi i want esp to connect to.
   while (WiFi.status() != WL_CONNECTED) {
     delay(1000);
     if (wifiTimeout &gt; WIFI_CONNECTION_TIMEOUT){
      #ifdef DEBUG
   Serial.println("Timeout");
   #endif
        return false;
     }
   wifiTimeout++;
   }
...
</code></pre>

<p>if this is successful I am just doing an infinite wait.</p>