mesh: set app key flag for new application keys

This commit is contained in:
Matthias Ringwald 2019-06-06 14:57:27 +02:00
parent 103eca9e1d
commit c6edba33c2

View File

@ -2137,6 +2137,7 @@ static void config_appkey_add_handler(mesh_model_t *mesh_model, mesh_pdu_t * pdu
}
// store data
app_key->akf = 1;
app_key->appkey_index = appkey_index;
app_key->netkey_index = netkey_index;
memcpy(app_key->key, appkey, 16);