summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-03-03 19:44:33 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-04 14:06:48 -0500
commit1ed3811c33d525be1c657261db1713f294c40c60 (patch)
treefcc8cb8bf9a46cab28809a33daedf9798575aa6d /drivers/uwb
parent4df10c8c1353e5db781a9a781cc585698b24f30d (diff)
downloadop-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 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud