]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix Device ID matching for Probe Request frames
authorWei-Jen Lin <jenlin@qca.qualcomm.com>
Wed, 2 May 2012 12:19:02 +0000 (15:19 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 May 2012 12:19:02 +0000 (15:19 +0300)
commit1c7447d08b2b7368201e4df456ee3da50a00f5aa
tree22e6a9d0a798f704acd58f14555fa300d89f38c6
parent1f0cc27eb98f7d1af9c64d0752238184cbdb9a24
P2P: Fix Device ID matching for Probe Request frames

The misplaced parenthesis caused Device ID matching to check only the
first octet of the P2P Device Address, i.e., we could have replied to
Probe Request frames that was searching for another device if any of
the last five octets of the address were different.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
src/p2p/p2p.c