rtl8720dn: add Rpc_tcpip_adapter_init_with_timeout()

This commit is contained in:
sago35
2022-08-01 17:36:29 +09:00
parent 71c77d4b53
commit 592f66e1ca
2 changed files with 33 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func Setup() (*rtl8720dn.RTL8720DN, error) {
rtl := rtl8720dn.New(uart)
rtl.Debug(debug)
_, err := rtl.Rpc_tcpip_adapter_init()
_, err := rtl.Rpc_tcpip_adapter_init_with_timeout(10 * time.Second)
if err != nil {
return nil, err
}