summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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'): {