diff options
Diffstat (limited to 'net/bluetooth/lib.c')
-rw-r--r-- | net/bluetooth/lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c index ad2af5814e40..b826d1bf10df 100644 --- a/net/bluetooth/lib.c +++ b/net/bluetooth/lib.c | |||
@@ -51,8 +51,8 @@ char *batostr(bdaddr_t *ba) | |||
51 | 51 | ||
52 | i ^= 1; | 52 | i ^= 1; |
53 | sprintf(str[i], "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X", | 53 | sprintf(str[i], "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X", |
54 | ba->b[0], ba->b[1], ba->b[2], | 54 | ba->b[5], ba->b[4], ba->b[3], |
55 | ba->b[3], ba->b[4], ba->b[5]); | 55 | ba->b[2], ba->b[1], ba->b[0]); |
56 | 56 | ||
57 | return str[i]; | 57 | return str[i]; |
58 | } | 58 | } |