diff options
author | 2020-06-02 03:16:34 +0000 | |
---|---|---|
committer | 2020-06-02 03:16:34 +0000 | |
commit | 6f07450f7fdecd61d77812f8a65f01987ff6d237 (patch) | |
tree | ce4ad966822b1a828cb52670a29c54fdb6ff6ddd | |
parent | Add missing ieee80211_release_node() calls in cases where hardware (diff) | |
download | wireguard-openbsd-6f07450f7fdecd61d77812f8a65f01987ff6d237.tar.xz wireguard-openbsd-6f07450f7fdecd61d77812f8a65f01987ff6d237.zip |
use correct node when enabling phy
ok kettenis@
-rw-r--r-- | sys/arch/armv7/omap/omehci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/armv7/omap/omehci.c b/sys/arch/armv7/omap/omehci.c index a21f1e97f57..718d38510c5 100644 --- a/sys/arch/armv7/omap/omehci.c +++ b/sys/arch/armv7/omap/omehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omehci.c,v 1.5 2020/04/07 09:09:46 kettenis Exp $ */ +/* $OpenBSD: omehci.c,v 1.6 2020/06/02 03:16:34 jsg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -188,8 +188,7 @@ omehci_attach(struct device *parent, struct device *self, void *aux) printf("\n"); - for (i = 0; i < OMAP_HS_USB_PORTS; i++) - phy_enable_idx(faa->fa_node, i); + phy_enable_idx(node, 0); if (omehci_init(sc)) return; |