Hi Łukasz, On Wednesday 10 December 2014 20:15:45 Lukasz Rymanowski wrote: > --- > android/bluetooth.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/android/bluetooth.c b/android/bluetooth.c > index 48ca231..e9c5be1 100644 > --- a/android/bluetooth.c > +++ b/android/bluetooth.c > @@ -176,6 +176,8 @@ static struct { > > char *name; > > + uint8_t irk[16]; > + > uint8_t max_advert_instance; > uint8_t rpa_offload_supported; > uint8_t max_irk_list_size; > @@ -196,6 +198,7 @@ static struct { > .index = MGMT_INDEX_NONE, > .dev_class = 0, > .name = NULL, > + .irk = {0}, > .max_advert_instance = 0, > .rpa_offload_supported = 0, > .max_irk_list_size = 0, I don't think we need to keep IRK in memory. I'd just try to load it (if not present generate and store) and provide it to kernel. -- Szymon K. Janc szymon.janc@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html