summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-09-29 14:27:00 +0200
committerYorhel <git@yorhel.nl>2013-09-29 14:27:00 +0200
commit8bc7b0e0c7c55977be24785bf3d0788d468efb39 (patch)
tree8dd2136a809ef9a62fa81c45bbcbe52391af7f90
parent1b27c1457c777bc77304e358be946ace6c53d3df (diff)
hub/adc: Fix misreporting of slot count as hub-op count
Looks like a copy-paste error.
-rw-r--r--src/hub/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/adc.c b/src/hub/adc.c
index 40919f5..5e17e19 100644
--- a/src/hub/adc.c
+++ b/src/hub/adc.c
@@ -215,7 +215,7 @@ static bool hub_adc_inf_user_param(hub_user_update_t *d, const char *cmd, int le
case ADC_PARAM('H','N'): UINT(hnorm, UINT8_MAX); hub_user_update_field(d, HUBU_HUBS ); break;
case ADC_PARAM('H','R'): UINT(hreg, UINT8_MAX); hub_user_update_field(d, HUBU_HUBS ); break;
case ADC_PARAM('H','O'): UINT(hop, UINT8_MAX); hub_user_update_field(d, HUBU_HUBS ); break;
- case ADC_PARAM('S','L'): UINT(hop, UINT8_MAX); hub_user_update_field(d, HUBU_SLOTS ); break;
+ case ADC_PARAM('S','L'): UINT(slots, UINT8_MAX); hub_user_update_field(d, HUBU_SLOTS ); break;
case ADC_PARAM('A','S'): UINT(as, UINT32_MAX); hub_user_update_field(d, HUBU_AS ); break;
case ADC_PARAM('U','S'): UINT(conn, UINT32_MAX); hub_user_update_field(d, HUBU_CONN ); break;
case ADC_PARAM('I','D'): {