clear bssid before reassociating

pull/73/head
Thorsten von Eicken 9 years ago committed by susisstrolch
parent 0557bbbc89
commit b0a477a1ec
  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