/* USB 2.0 spec Section 11.24.2. and table 11-7 for info about using port indicators  */
static void set_port_led(struct usb_hub *hub, int port1, int selector)
/* USB 2.0 spec Section 11.24.2. and table 11-7 for info about using port indicators  */
static void set_port_led(struct usb_hub *hub, int port1, int selector)
{
	int status = set_port_feature(hub->hdev, (selector << 8) | port1,
			USB_PORT_FEAT_INDICATOR);
	if (status < 0)
		dev_dbg (hub->intfdev,
			"port %d indicator %s status %d\n",
			port1,
			({ char *s; switch (selector) {
			case HUB_LED_AMBER: s = "amber"; break;
			case HUB_LED_GREEN: s = "green"; break;
			case HUB_LED_OFF: s = "off"; break;
			case HUB_LED_AUTO: s = "auto"; break;
			default: s = "??"; break;
			}; s; }),
			status);
}