|
@@ -824,7 +824,7 @@ static void p2p_search(struct p2p_data *p2p)
|
|
|
|
|
|
if (p2p->cfg->p2p_scan(p2p->cfg->cb_ctx, type, freq,
|
|
|
p2p->num_req_dev_types, p2p->req_dev_types,
|
|
|
- p2p->find_dev_id) < 0) {
|
|
|
+ p2p->find_dev_id)) {
|
|
|
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
|
|
|
"P2P: Scan request failed");
|
|
|
p2p_continue_find(p2p);
|