]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix wpa_key_mgmt_*() helper functions to handle multiple bits
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 8 Apr 2011 16:11:54 +0000 (19:11 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 8 Apr 2011 16:11:54 +0000 (19:11 +0300)
commit03d3f28a698ec2c269fed35b88be30373595eee2
treee4e2c17ae27d085289184b9e5b224e2c8e881e79
parenta1ca02927aba6d95697c6e87ec6eff4c39135dec
Fix wpa_key_mgmt_*() helper functions to handle multiple bits

These can be used in some cases with a bitfield having multiple
AKMs enabled (e.g., WPA-PSK and WPA-PSK-SHA256). Address those
cases by checking whether any of the matching AKM are included.
src/common/defs.h