mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/tw7058_mode_fatal' into 'master'
[teamwork7058]It causes fatal when switch wifi mode. See merge request !84
This commit is contained in:
commit
8051a8b91e
@ -1070,9 +1070,8 @@ void dhcps_stop(struct netif *netif)
|
||||
return;
|
||||
}
|
||||
|
||||
udp_disconnect(pcb_dhcps);
|
||||
|
||||
if (apnetif->dhcps_pcb != NULL) {
|
||||
udp_disconnect(apnetif->dhcps_pcb);
|
||||
udp_remove(apnetif->dhcps_pcb);
|
||||
apnetif->dhcps_pcb = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user