diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-08 20:51:48 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-08 20:51:48 +0200 |
commit | dc8432d4593c7a4b0a187d0174d4e4e603e456f6 (patch) | |
tree | c3b886fd560b7cf680c12e44ffdb6a711e1f2416 | |
parent | 21c7c68307c3a80354d1c42210766a33e9394b62 (diff) |
nusb/usbd: increase buffer size to capture port information
due to the addition of uframes property, the buffer got truncated
resulting in usbd not recognizing the number of roothub ports.
-rw-r--r-- | sys/src/cmd/nusb/usbd/hub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/usbd/hub.c b/sys/src/cmd/nusb/usbd/hub.c index 573a0fd36..3f7147476 100644 --- a/sys/src/cmd/nusb/usbd/hub.c +++ b/sys/src/cmd/nusb/usbd/hub.c @@ -135,10 +135,10 @@ Config: static void configroothub(Hub *h) { - Dev *d; - char buf[128]; + char buf[1024]; char *p; int nr; + Dev *d; d = h->dev; h->nport = 2; |