From a2da7df0347bf4e420c2cd42ff3b8ef7cbd818be Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 18 Jul 2015 23:24:13 +0200 Subject: o Consistent ordering when storing the MAC address's bytes. --- ble/LinuxBluetooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ble/LinuxBluetooth.cpp') diff --git a/ble/LinuxBluetooth.cpp b/ble/LinuxBluetooth.cpp index d48bfcd..0c6c387 100644 --- a/ble/LinuxBluetooth.cpp +++ b/ble/LinuxBluetooth.cpp @@ -107,7 +107,7 @@ string errnoAsString() { // ----------------------------------------------------------------------- Mac parseMac(bdaddr_t &a) { - return Mac(a.b[0], a.b[1], a.b[2], a.b[3], a.b[4], a.b[5]); + return Mac(a.b[5], a.b[4], a.b[3], a.b[2], a.b[1], a.b[0]); } // ----------------------------------------------------------------------- -- cgit v1.2.3