Skip to content

Commit

Permalink
clear bssid before reassociating
Browse files Browse the repository at this point in the history
  • Loading branch information
tve committed Aug 19, 2015
1 parent b31c0a5 commit 1ed8571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user/cgiwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ static ETSTimer reassTimer;
static void ICACHE_FLASH_ATTR reassTimerCb(void *arg) {
os_printf("Wifi changing association\n");
wifi_station_disconnect();
stconf.bssid_set = 0;
wifi_station_set_config(&stconf);
wifi_station_connect();
// Schedule check
Expand Down

0 comments on commit 1ed8571

Please sign in to comment.