GAS client: Make PMF check on RX more consistent
authorJouni Malinen <j@w1.fi>
Sat, 27 Feb 2016 16:49:31 +0000 (18:49 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 27 Feb 2016 17:37:19 +0000 (19:37 +0200)
commite04019737e9987137bec9034f2f9684c70275cd3
treebf70a228225bca5c06ff7faf4520c39dbb496fe4
parent1bef9e87294ff732a600593e9daac7e943f27dd0
GAS client: Make PMF check on RX more consistent

Use the SA field instead of BSSID in the received Action frame to
determine whether PMF has been negotiated with the transmitter. While
these fields are supposed to be same for Public Action frames from an
AP, it would be possible that a frame is received with different values.
The following operations in gas_query_rx() use SA, so do the same for
the PMF check.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/gas_query.c