/* Byte swap a binary GUID to match it's real GUID value  */
static void wmi_swap_bytes(u8 *src, u8 *dest)
/* Byte swap a binary GUID to match it's real GUID value  */
static void wmi_swap_bytes(u8 *src, u8 *dest)
{
	int i;
	for (i = 0; i <= 3; i++)
		memcpy(dest + i, src + (3 - i), 1);
	for (i = 0; i <= 1; i++)
		memcpy(dest + 4 + i, src + (5 - i), 1);
	for (i = 0; i <= 1; i++)
		memcpy(dest + 6 + i, src + (7 - i), 1);
	memcpy(dest + 8, src + 8, 8);
}