rtl8720dn: add examples/rtl8720dn/webserver

This commit is contained in:
sago35
2021-07-05 18:21:33 +09:00
committed by Ron Evans
parent 8a4a0ff017
commit 6a4cd9d8e7
17 changed files with 2650 additions and 171 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func (r *RTL8720DN) ConnectToAP(ssid string, password string) error {
func (r *RTL8720DN) GetIP() (ip, subnet, gateway IPAddress, err error) {
ip_info := make([]byte, 12)
_, err = r.Rpc_tcpip_adapter_get_ip_info(0, ip_info)
_, err = r.Rpc_tcpip_adapter_get_ip_info(0, &ip_info)
if err != nil {
return nil, nil, nil, err
}