nl80211: Fix no-encrypt for IEEE 802.1X WEP EAPOL
authorJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 15:35:03 +0000 (17:35 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 15:35:03 +0000 (17:35 +0200)
commit533fe09b78b8c63b1b339ea5b0a2f8186c2b8d02
treedc01a22b95e03ca43223509f6537123b75d84a15
parent1e7528298a2b5d78cc697e08b3cf721897478f6f
nl80211: Fix no-encrypt for IEEE 802.1X WEP EAPOL

Commit 9f12614b8cad55e5ec0a50e04d9d3e090df666fd ('nl80211: Do not
encrypt IEEE 802.1X WEP EAPOL') tried to use
NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT to disable encryption of EAPOL
frames for WEP IEEE 802.1X. However, it used incorrect key management
suite (IEEE 802.1X with WPA/WPA2 while the non-WPA version is needed
here). Consequently, the no-encrypt flag was never set to the driver
(WPA/WPA2 cases do not meet the WEP as pairwise criteria).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c