]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
cfg80211: Validate cipher suite against supported ciphers
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 21 Sep 2011 15:14:56 +0000 (18:14 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:29:54 +0000 (14:29 -0400)
commit38ba3c57af1c737966fb58bcbeecdc71f5f4fa90
tree5c2539d3c2cf8e2d0728917ecc4227efcb5774b9
parent6d30240e3d68f1da7303801f840132d0821f1767
cfg80211: Validate cipher suite against supported ciphers

Instead of using a hardcoded list of cipher suites in nl80211.c, use a
shared function in util.c to verify that the driver advertises support
for the specified cipher. This provides more accurate validation of the
values and allows vendor-specific cipher suites to be added in drivers.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/util.c