clear bssid before reassociating

pull/39/head
Thorsten von Eicken 9 years ago
parent 5fc65bd7ee
commit 71bc355038
  1. 1
      user/cgiwifi.c

@ -261,6 +261,7 @@ static ETSTimer reassTimer;
static void ICACHE_FLASH_ATTR reassTimerCb(void *arg) { static void ICACHE_FLASH_ATTR reassTimerCb(void *arg) {
os_printf("Wifi changing association\n"); os_printf("Wifi changing association\n");
wifi_station_disconnect(); wifi_station_disconnect();
stconf.bssid_set = 0;
wifi_station_set_config(&stconf); wifi_station_set_config(&stconf);
wifi_station_connect(); wifi_station_connect();
// Schedule check // Schedule check

Loading…
Cancel
Save