Hi Alexander, > > +static bool > > +cfg802154_is_same_coordinator(struct ieee802154_coord_desc *a, > > + struct ieee802154_coord_desc *b) > > +{ > > + if (a->addr->pan_id != b->addr->pan_id) > > + return false; > > + > > + if (a->addr->mode != b->addr->mode) > > + return false; > > + > > + if (a->addr->mode == IEEE802154_ADDR_SHORT && > > + a->addr->short_addr == b->addr->short_addr) > > + return true; > > + else if (a->addr->mode == IEEE802154_ADDR_LONG && > > + a->addr->extended_addr == b->addr->extended_addr) > > + return true; > > + > > + return false; > > semantic is a little bit different, can we use "ieee802154_addr_equal()" here? No problem, I will. Thanks, Miquèl