mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
dm: passthru: increase the delay after wifi reset
Increase the delay to 200ms after wifi reset for link training done. Tracked-On: #2328 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
parent
19b6eea150
commit
80c394a86a
@ -762,7 +762,7 @@ passthru_gpio_reset(int gpio_pin)
|
||||
return -1;
|
||||
}
|
||||
|
||||
usleep(100);
|
||||
usleep(1000);
|
||||
|
||||
if(write(fd, "1", 1) < 0) {
|
||||
warnx("failed to set pin %d", gpio_pin);
|
||||
@ -985,7 +985,7 @@ passthru_deinit(struct vmctx *ctx, struct pci_vdev *dev, char *opts)
|
||||
warnx("Do gpio reset for device %x/%x/%x", bus, slot, func);
|
||||
if (passthru_gpio_reset(ptdev->gpio_reset_pin))
|
||||
warnx("Failed to do gpio reset for device %x/%x/%x ", bus, slot, func);
|
||||
usleep(10000);
|
||||
usleep(200000);
|
||||
}
|
||||
|
||||
free(ptdev);
|
||||
|
Loading…
Reference in New Issue
Block a user