Lines Matching refs:serial_number
581 if (msg->serial_number && in p2p_copy_wps_info()
582 msg->serial_number_len < sizeof(dev->info.serial_number)) { in p2p_copy_wps_info()
583 os_memset(dev->info.serial_number, 0, in p2p_copy_wps_info()
584 sizeof(dev->info.serial_number)); in p2p_copy_wps_info()
585 os_memcpy(dev->info.serial_number, msg->serial_number, in p2p_copy_wps_info()
2891 if (cfg->serial_number) in p2p_init()
2892 p2p->cfg->serial_number = os_strdup(cfg->serial_number); in p2p_init()
2964 os_free(p2p->cfg->serial_number); in p2p_deinit()
3079 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number) in p2p_set_serial_number() argument
3081 os_free(p2p->cfg->serial_number); in p2p_set_serial_number()
3082 p2p->cfg->serial_number = NULL; in p2p_set_serial_number()
3083 if (serial_number) { in p2p_set_serial_number()
3084 p2p->cfg->serial_number = os_strdup(serial_number); in p2p_set_serial_number()
3085 if (p2p->cfg->serial_number == NULL) in p2p_set_serial_number()