add hostname option in dhcp discover

Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.
This commit is contained in:
Xia Xiaotian
2018-12-10 21:26:24 +08:00
parent ac051f0afc
commit 5c8d25b795