aboutsummaryrefslogtreecommitdiff
path: root/ble/LinuxBluetooth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ble/LinuxBluetooth.cpp')
-rw-r--r--ble/LinuxBluetooth.cpp2
1 files changed, 1 insertions, 1 deletions
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]);
}
// -----------------------------------------------------------------------