mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Bug fix: devcount was running from [count..0], should be [count-1..0]
This commit is contained in:
parent
722012cc0c
commit
7d0d9122c9
1 changed files with 1 additions and 1 deletions
|
|
@ -1249,7 +1249,7 @@ usbd_driver_load(module_t mod, int what, void *arg)
|
|||
if (error)
|
||||
return 0; /* XXX maybe transient, or error? */
|
||||
|
||||
for (; devcount; devcount--)
|
||||
for (devcount--; devcount >= 0; devcount--)
|
||||
USB_RECONFIGURE(devlist[devcount]);
|
||||
|
||||
free(devlist, M_TEMP);
|
||||
|
|
|
|||
Loading…
Reference in a new issue