From: Jouni Malinen Date: Sat, 24 Jan 2015 17:52:04 +0000 (+0200) Subject: cfg80211: Fix BIP (AES-CMAC) cipher validation X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~69^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37720569cc89205c23011d6b52f8c63ea2057c3d;p=pandora-kernel.git 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 [change code to use switch statement which is easier to extend] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed