near_ndef_prepare_hs_message() does not prepare a generic handover
select message but rather a reply to a handover request.
Those 2 have to be differentiated in order to implement static handover
where a handover select frame is sent without having first seen a
handover request.
return NULL;
}
-static struct near_ndef_message *near_ndef_prepare_hs_message(
+static struct near_ndef_message *near_ndef_prepare_hs_reply(
GSList *remote_mimes,
GSList *remote_cfgs)
{
}
} else if (reply != NULL) {
/* Prepare Hs, it depends upon Hr message carrier types */
- *reply = near_ndef_prepare_hs_message(mimes, c_datas);
+ *reply = near_ndef_prepare_hs_reply(mimes, c_datas);
if (*reply == NULL) {
DBG("error in preparing in HS record");
goto fail;