|
@@ -1911,7 +1911,7 @@ p2p_reply_probe(struct p2p_data *p2p, const u8 *addr, const u8 *dst,
|
|
}
|
|
}
|
|
|
|
|
|
if (msg.device_id &&
|
|
if (msg.device_id &&
|
|
- os_memcmp(msg.device_id, p2p->cfg->dev_addr, ETH_ALEN != 0)) {
|
|
|
|
|
|
+ os_memcmp(msg.device_id, p2p->cfg->dev_addr, ETH_ALEN) != 0) {
|
|
/* Device ID did not match */
|
|
/* Device ID did not match */
|
|
p2p_parse_free(&msg);
|
|
p2p_parse_free(&msg);
|
|
return P2P_PREQ_NOT_PROCESSED;
|
|
return P2P_PREQ_NOT_PROCESSED;
|