cfg80211: Allow non-zero indexes for device specific pair-wise ciphers
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 25 Jan 2011 10:21:22 +0000 (12:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Jan 2011 20:44:27 +0000 (15:44 -0500)
commit45cbad6a1299842b5ae9a8a9c09630af063692f8
tree153e05300a1a6cee014441e0d4733165a1f60f37
parent53e3b6e29eeda568fbe6c1e32d35cb56eea94415
cfg80211: Allow non-zero indexes for device specific pair-wise ciphers

Some vendor specific cipher suites require non-zero key indexes for pairwise
keys, but as of currently, the cfg80211 does not allow it.

As validating they cipher parameters for vendor specific cipher suites is the
job of the driver or hardware/firmware, change the cfg80211 to allow also
non-zero pairwise key indexes for vendor specific ciphers.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/util.c