aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/6lowpan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r--net/bluetooth/6lowpan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index 5f0b11d94d95..ab4e7712457b 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -623,7 +623,7 @@ static void set_addr(u8 *eui, u8 *addr, u8 addr_type)
623 eui[0] ^= 2; 623 eui[0] ^= 2;
624 624
625 /* Universal/local bit set, RFC 4291 */ 625 /* Universal/local bit set, RFC 4291 */
626 if (addr_type == BDADDR_LE_PUBLIC) 626 if (addr_type == ADDR_LE_DEV_PUBLIC)
627 eui[0] |= 1; 627 eui[0] |= 1;
628 else 628 else
629 eui[0] &= ~1; 629 eui[0] &= ~1;