Fix phy_enable_prop_idx() to retrieve the property length with the passed
authorpatrick <patrick@openbsd.org>
Wed, 26 Apr 2023 21:37:46 +0000 (21:37 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 26 Apr 2023 21:37:46 +0000 (21:37 +0000)
commit074353b3b9e18f1378314a10e0579eb957fb5c92
tree3bb9eb2a93432b3fd101904d1cda3b0956c50d0e
parentae8ea74683b0c365b0260b52bc7ca806ebeca371
Fix phy_enable_prop_idx() to retrieve the property length with the passed
property name instead of "phys".

ok dlg@
sys/dev/ofw/ofw_misc.c