Lines Matching refs:model_number
565 if (msg->model_number && in p2p_copy_wps_info()
566 msg->model_number_len < sizeof(dev->info.model_number)) { in p2p_copy_wps_info()
567 os_memset(dev->info.model_number, 0, in p2p_copy_wps_info()
568 sizeof(dev->info.model_number)); in p2p_copy_wps_info()
569 os_memcpy(dev->info.model_number, msg->model_number, in p2p_copy_wps_info()
2962 if (cfg->model_number) in p2p_init()
2963 p2p->cfg->model_number = os_strdup(cfg->model_number); in p2p_init()
3032 os_free(p2p->cfg->model_number); in p2p_deinit()
3140 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number) in p2p_set_model_number() argument
3142 os_free(p2p->cfg->model_number); in p2p_set_model_number()
3143 p2p->cfg->model_number = NULL; in p2p_set_model_number()
3144 if (model_number) { in p2p_set_model_number()
3145 p2p->cfg->model_number = os_strdup(model_number); in p2p_set_model_number()
3146 if (p2p->cfg->model_number == NULL) in p2p_set_model_number()