clear bssid before reassociating

pull/36/merge
Thorsten von Eicken 9 years ago
parent b31c0a557c
commit 1ed85714da
  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