update use of hci_local_address

This commit is contained in:
Matthias Ringwald 2015-03-29 22:13:51 +02:00
parent 0f6940d34d
commit f391359984

View File

@ -714,7 +714,7 @@ static bnep_channel_t * bnep_channel_create_for_addr(bd_addr_t addr)
channel->state = BNEP_CHANNEL_STATE_CLOSED;
channel->max_frame_size = bnep_max_frame_size_for_l2cap_mtu(l2cap_max_mtu());
BD_ADDR_COPY(&channel->remote_addr, addr);
BD_ADDR_COPY(&channel->local_addr, hci_local_bd_addr());
hci_local_bd_addr(channel->local_addr);
channel->net_filter_count = 0;
channel->multicast_filter_count = 0;