commit | 37720569cc89205c23011d6b52f8c63ea2057c3d | [log] [tgz] |
---|---|---|
author | Jouni Malinen <jouni@qca.qualcomm.com> | Sat Jan 24 19:52:04 2015 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Jan 27 11:03:41 2015 +0100 |
tree | 9de42e7ea5d1fd7cc802633e9fe50ac981f939c1 | |
parent | 3cb10943fc60b4349a4d7865bdd579bc5c8eaf73 [diff] |
cfg80211: Fix BIP (AES-CMAC) cipher validation This cipher can be used only as a group management frame cipher and as such, there is no point in validating that it is not used with non-zero key-index. Instead, verify that it is not used as a pairwise cipher regardless of the key index. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> [change code to use switch statement which is easier to extend] Signed-off-by: Johannes Berg <johannes.berg@intel.com>