Lines Matching refs:after_scan_tx
894 if (p2p->after_scan_tx) {
900 p2p->after_scan_tx->freq,
901 p2p->after_scan_tx->dst,
902 p2p->after_scan_tx->src,
903 p2p->after_scan_tx->bssid,
904 (u8 *) (p2p->after_scan_tx + 1),
905 p2p->after_scan_tx->len,
906 p2p->after_scan_tx->wait_time);
907 os_free(p2p->after_scan_tx);
908 p2p->after_scan_tx = NULL;
1281 if (p2p->after_scan_tx) {
1290 os_free(p2p->after_scan_tx);
1291 p2p->after_scan_tx = NULL;
2303 os_free(p2p->after_scan_tx);
2332 os_free(p2p->after_scan_tx);
2333 p2p->after_scan_tx = NULL;
2355 /* Check if after_scan_tx is for this peer. If so free it */
2356 if (p2p->after_scan_tx &&
2357 os_memcmp(addr, p2p->after_scan_tx->dst, ETH_ALEN) == 0) {
2358 os_free(p2p->after_scan_tx);
2359 p2p->after_scan_tx = NULL;
3883 if (p2p->after_scan_tx) {
3886 os_free(p2p->after_scan_tx);
3888 p2p->after_scan_tx = os_malloc(sizeof(*p2p->after_scan_tx) +
3890 if (p2p->after_scan_tx == NULL)
3892 p2p->after_scan_tx->freq = freq;
3893 os_memcpy(p2p->after_scan_tx->dst, dst, ETH_ALEN);
3894 os_memcpy(p2p->after_scan_tx->src, src, ETH_ALEN);
3895 os_memcpy(p2p->after_scan_tx->bssid, bssid, ETH_ALEN);
3896 p2p->after_scan_tx->len = len;
3897 p2p->after_scan_tx->wait_time = wait_time;
3898 os_memcpy(p2p->after_scan_tx + 1, buf, len);