[PATCH] [GTA02] Use different MACs for the host and for the device ends of usb link

Werner Almesberger werner at openmoko.org
Sun May 24 07:18:38 CEST 2009


I wrote:
> Why not just use a loop ? Something like:
> 
> 	for (i = 0; i != 6; i++)
> 		if (!inc_hexchar(mac+18-i))
> 			break;

Hmm, I have to work on my reading skills. That should have been
more like this:

	for (i = 0; i != 8; i++) {
		if ((i % 3) == 2)
			continue;
		if (!inc_hexchar(mac+18-i))
			break;
	}

- Werner



More information about the openmoko-kernel mailing list