]> git.ipfire.org Git - thirdparty/hostap.git/commit
Interworking: Select highest priority cred if multiple matches
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 16 Feb 2013 17:54:09 +0000 (19:54 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 Feb 2013 17:57:35 +0000 (19:57 +0200)
commitb618a469c42120e984ab1c85ed6058504d1fca78
tree8368b1fd5ce79f0d05b89ca3ca59fff5f37c601a
parent8dabf4bb4618b3073f6503f429ad28160e3c67dc
Interworking: Select highest priority cred if multiple matches

Previously, the credential to use for a connection with a specific BSS
was picked arbitrary based on first found match of each matching
mechanism. While the credential priorities were used elsewhere, this did
not take into account that different mechanisms could find multiple
matching credentials. As such, the highest priority credential was not
always used in case more than one credential matched with the selected
BSS. Fix this by checking credential priorities again during connection
request.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/interworking.c