diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-03-03 19:44:33 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-04 14:06:48 -0500 |
commit | 1ed3811c33d525be1c657261db1713f294c40c60 (patch) | |
tree | fcc8cb8bf9a46cab28809a33daedf9798575aa6d /fs/dlm/Kconfig | |
parent | 4df10c8c1353e5db781a9a781cc585698b24f30d (diff) | |
download | op-kernel-dev-1ed3811c33d525be1c657261db1713f294c40c60.zip op-kernel-dev-1ed3811c33d525be1c657261db1713f294c40c60.tar.gz |
rt2x00: Fix rt2800 key assignment in multi bssid setups
When setting up multiple BSSIDs in AP mode on an rt2800pci device we
previously used the STAs AID to select an appropriate key slot. But
since the AID is per VIF we can end up with two STAs having the same AID
and thus using the same key index. This resulted in one STA overwriting
the key information of another STA.
Fix this by simply searching for the next unused entry in the pairwise
key table.
Also bring the key table init in sync with deleting keys by initializing
the key table entries to 0 instead of 1.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/dlm/Kconfig')
0 files changed, 0 insertions, 0 deletions